Closed kjs73 closed 9 years ago
These can be done using "EXPECT_THROW" or "ASSERT_THROW". See
https://github.com/pele-python/pele/blob/master/cpp_tests/source/test_array.cpp#L157
Cool! I did not know this existed.
On Fri, 27 Feb 2015, at 11:49 AM, Jacob Stevenson wrote:
These can be done using "EXPECT_THROW" or "ASSERT_THROW". See
https://github.com/pele-python/pele/blob/master/cpp_tests/source/test_array.cpp#L157
Reply to this email directly or view it on GitHub: https://github.com/pele-python/pele/pull/126#issuecomment-76383218
there are more assertions here
:+1:
Code quality remained the same when pulling db7d6f9 on kjs73:base_potential_test into 090e2b8 on pele-python:master.