Commit graph

20 commits

Author SHA1 Message Date
6fcfcd09b5 Add div and length tests for Vector3 2013-09-13 11:14:34 -07:00
25e7ed2b21 Add a bunch of tests for Vector3 2013-09-13 11:10:07 -07:00
a5fd16e5b3 Build test with gtest, correctly 2013-09-13 11:09:20 -07:00
e8a6099158 Move main() and test code for basics to C++ 2013-09-12 16:16:29 -07:00
6be100e28a Update testing makefile 2013-09-12 15:54:17 -07:00
d9a8920cdf Add gtest 2013-09-12 15:50:40 -07:00
f80b580017 Play with the dot product test -- it wasn't sufficient to catch an error >_< 2013-09-09 09:06:19 -07:00
07c70b2bc7 Initialize ray before testing intersection 2013-09-09 09:03:07 -07:00
ee536de7dc Add tests for sphere_point_lies_on_surface and sphere_compute_normal 2013-09-09 08:53:19 -07:00
600f93b908 Use test_assert_within_epsilon for testing floating point equality 2013-09-09 08:53:05 -07:00
13ca9abc53 Add test_asserts module 2013-09-09 08:52:35 -07:00
45b71f18db Move checking intersection of ray and sphere in unit tests to check_sphere_intersection 2013-09-08 18:07:30 -07:00
4e6e0610ba Add test_vector_negate 2013-09-08 18:00:41 -07:00
d2afb4e10a Add tests for add_vector, mul_scalar, and sub_vector 2013-09-08 17:58:32 -07:00
0fa10c3220 Sphere intersection test 2013-09-08 15:35:58 -07:00
5a0d215789 Add test modules 2013-09-08 15:18:22 -07:00
ebcb67a0cc Fixing the build system again 2013-09-08 14:53:11 -07:00
f81e403b16 Revamp build system: build src and test into libs and link to make binaries 2013-09-08 13:57:05 -07:00
926247002b Add test directory to SCons 2013-09-08 12:21:24 -07:00
b1d61b5ddc Add SConscript for test 2013-09-08 12:14:36 -07:00