Refactor system_test

1. Move common test infrastructure into test_util.
2. system_test now only contains powells function.
3. Add bundle_adjustment_test.

Instead of a single function which computes everything,
there is now a test for each solver configuration which
uses the reference solution computed by the fixture.

Change-Id: I16a9a9a83a845a7aaf28762bcecf1a8ff5aee805
This commit is contained in:
Sameer Agarwal
2015-09-11 22:19:38 -07:00
parent 1936d47e21
commit 5f2f05c726
5 changed files with 726 additions and 405 deletions
+1
View File
@@ -285,6 +285,7 @@ if (BUILD_TESTING AND GFLAGS)
ceres_test(block_random_access_diagonal_matrix)
ceres_test(block_random_access_sparse_matrix)
ceres_test(block_sparse_matrix)
ceres_test(bundle_adjustment)
ceres_test(c_api)
ceres_test(canonical_views_clustering)
ceres_test(compressed_row_sparse_matrix)