Skip to content

Commit

Permalink
Change task 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KachalovM committed Sep 27, 2024
1 parent 313b4ee commit a0fb09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ TEST(TasksTest, SolveSwimmingPool) {
double poolRadius = 3;
double walkwayWidth = 1;
double totalCost = solveSwimmingPool(poolRadius, walkwayWidth);
EXPECT_NEAR(totalCost, 75424.77796, 1e-2);
EXPECT_NEAR(totalCost, 72256.63103, 1e-2);
}

TEST(TasksTest, SolveSwimmingPoolDifferentSizes) {
double poolRadius = 5;
double walkwayWidth = 2;
double totalCost = solveSwimmingPool(poolRadius, walkwayWidth);
EXPECT_NEAR(totalCost, 207345.1151, 1e-2);
EXPECT_NEAR(totalCost, 163362.81799, 1e-2);
}

TEST(CircleTest, ZeroRadius) {
Expand Down

0 comments on commit a0fb09a

Please sign in to comment.