Skip to content

Commit 1e3c6c2

Browse files
committed
improve coverage through unit tests.
1 parent be1d85b commit 1e3c6c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit_tests/unit_test_world_builder.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ TEST_CASE("WorldBuilder interface")
859859

860860
CHECK_THROWS_WITH(world.properties({{1,2,3}},1., {{{{0,0,0}}}}),Contains("Unimplemented property provided. Only "));
861861
CHECK_THROWS_WITH(world.properties({{1,2,3}},1., {{{{10,0,0}}}}),Contains("Unimplemented property provided. Only "));
862+
CHECK_THROWS_WITH(world.properties(std::array<double,2>({{1,2}}),1., {{{{10,0,0}}}}),Contains("Unimplemented property provided. Only "));
862863

863864
approval_tests_grains.emplace_back(world.grains(std::array<double,3> {{750e3,250e3,100e3}},10e3,0,3));
864865
approval_tests_grains.emplace_back(world.grains(std::array<double,2> {{750e3,100e3}},10e3,0,3));

0 commit comments

Comments
 (0)