Browse Source

Fixed formatting. Made traivs more verbose.

master
James Goppert 9 years ago
parent
commit
d761bd3721
  1. 2
      .travis.yml
  2. 6
      test/helper.cpp

2
.travis.yml

@ -6,7 +6,7 @@ script: @@ -6,7 +6,7 @@ script:
- cmake -DCMAKE_BUILD_TYPE=Profile .
- make
- make check_format
- make test
- ctest -V
after_success:
- cpp-coveralls -i matrix
env:

6
test/helper.cpp

@ -12,6 +12,12 @@ int main() @@ -12,6 +12,12 @@ int main()
TEST(fabs(wrap_pi(-4.0) - (-4.0 + 2*M_PI)) < 1e-5);
TEST(fabs(wrap_pi(3.0) - (3.0)) < 1e-3);
wrap_pi(NAN);
Vector3f a(1, 2, 3);
Vector3f b(4, 5, 6);
a.T().print();
TEST(!isEqual(a, b));
TEST(isEqual(a, a));
return 0;
}

Loading…
Cancel
Save