Commit graph

8 commits

Author SHA1 Message Date
fc7b666429 Add optional methods like yx(), x1(), x0() etc...
You need to define VWR_EXTRA_ACCESSORS if you want those
to be available in your build.
2017-01-27 19:24:27 +00:00
6bf3278631 Implement comparison operators correctly.
With tests.
2016-11-08 01:51:17 +01:00
dc1b3e7b76 Use ctest in cmake. 2016-11-02 01:19:48 +01:00
6ab4d586eb Disable implicit conversions by default and update readme.
Implicit conversions are still needed for the old unit test to build.
2016-11-02 01:12:00 +01:00
736e83893a Add test for wrapped vector using get_at() which was not working previously. 2016-10-25 01:18:44 +02:00
fe03f45f76 Add an example.cpp unit test to demonstrate usage.
Shows what it looks like when you mix vectors of different
type vs using vectorwrapper.
2015-07-25 20:55:52 +02:00
958de67849 Make scalar_type and vector_type public in Vec.
- Add a dot product implementation.
- Test code to demonstrate dot product.
- Test code to demonstrate wrapping structs with unordered properties.
2015-07-25 19:41:16 +02:00
b7c7d77dac New test program based on gtest. 2015-07-23 23:10:03 +02:00