test(tests/poly): poly solver test
added test for the polytropic solver (which is also being used to validate and confirm it works)
This commit is contained in:
@@ -7,3 +7,8 @@ class polyTest : public ::testing::Test {};
|
|||||||
TEST_F(polyTest, DefaultConstructor) {
|
TEST_F(polyTest, DefaultConstructor) {
|
||||||
EXPECT_NO_THROW(PolySolver(1, 1));
|
EXPECT_NO_THROW(PolySolver(1, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(polyTest, Solve) {
|
||||||
|
PolySolver polytrope(1.5, 1);
|
||||||
|
EXPECT_NO_THROW(polytrope.solve());
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user