unitTest.cpp 256 B

1234567
  1. Describe(farm_animal_tests)
  2. {
  3. It(test1){Assert::That(animals(5, 2, 8), Equals(50));}
  4. It(test2){Assert::That(animals(3, 4, 7), Equals(50));}
  5. It(test3){Assert::That(animals(1, 2, 3), Equals(22));}
  6. It(test4){Assert::That(animals(3, 5, 2), Equals(34));}
  7. };