| 12 | #include <Eigen/CXX11/Tensor> |
| 13 | |
| 14 | static void test_default() |
| 15 | { |
| 16 | Tensor<float, 1> vec(6); |
| 17 | vec.setRandom(); |
| 18 | |
| 19 | // Fixme: we should check that the generated numbers follow a uniform |
| 20 | // distribution instead. |
| 21 | for (int i = 1; i < 6; ++i) { |
| 22 | VERIFY_IS_NOT_EQUAL(vec(i), vec(i-1)); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | static void test_normal() |
| 27 | { |
no outgoing calls
no test coverage detected