Skip to content

Commit

Permalink
Cleanup of comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Apr 10, 2024
1 parent 7672159 commit e9b6a36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Tarcog/tst/units/VenetianSlats.unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@
class TestVenetianSlats : public testing::Test
{};

// Testing calculateRise function
TEST_F(TestVenetianSlats, RiseZeroCurvature)
{
EXPECT_NEAR(0.0, ThermalPermeability::Venetian::calculateRise(0, 10), 1e-6);
}

TEST_F(TestVenetianSlats, RiseNegativeCurvature)
{
// Assuming negative curvature is not expected, so result should be 0. Adjust if your
// implementation differs.
EXPECT_NEAR(0.0, ThermalPermeability::Venetian::calculateRise(-10, 10), 1e-6);
}

Expand All @@ -29,7 +26,6 @@ TEST_F(TestVenetianSlats, RiseStandardCondition)
EXPECT_NEAR(expectedRise, ThermalPermeability::Venetian::calculateRise(5, 10), 1e-6);
}

// Testing calculateCurvature function
TEST_F(TestVenetianSlats, CurvatureZeroRise)
{
EXPECT_NEAR(0.0, ThermalPermeability::Venetian::calculateCurvature(0, 10), 1e-6);
Expand Down

0 comments on commit e9b6a36

Please sign in to comment.