Split test case luxe in 2 cases
This commit is contained in:
@@ -8,11 +8,16 @@ TEST(StartersTest, calculateStandard)
|
||||
EXPECT_DOUBLE_EQ(-31150.0L, test1.calculate());
|
||||
}
|
||||
|
||||
TEST(StartersTest, calculateLuxe)
|
||||
TEST(StartersTest, calculateLuxe1)
|
||||
{
|
||||
Starters_c test1(Starters_c::MachineStandard::Luxe, 1000, 1000, 105, 25, 9000, 25000);
|
||||
Starters_c test2(Starters_c::MachineStandard::Luxe, 1000, 1000, 1000, 105, 25, 9000, 25000);
|
||||
|
||||
EXPECT_DOUBLE_EQ(75500.0l, test1.calculate());
|
||||
}
|
||||
|
||||
TEST(StartersTest, calculateLuxe2)
|
||||
{
|
||||
Starters_c test2(Starters_c::MachineStandard::Luxe, 1000, 1000, 1000, 105, 25, 9000, 25000);
|
||||
|
||||
EXPECT_DOUBLE_EQ(76337.5l, test2.calculate());
|
||||
}
|
||||
Reference in New Issue
Block a user