unitTest.cpp 196 B

123456
  1. Describe(number_addition)
  2. {
  3. It(test1){Assert::That(addition(2, 3), Equals(5));}
  4. It(test2){Assert::That(addition(-3, -6), Equals(-9));}
  5. It(test3){Assert::That(addition(7, 3), Equals(10));}
  6. };