unitTest.cpp 261 B

1234567
  1. Describe(remainder_after_dividing)
  2. {
  3. It(test1){Assert::That(remainder(7, 2), Equals(1));}
  4. It(test2){Assert::That(remainder(3, 4), Equals(3));}
  5. It(test3){Assert::That(remainder(-9, -45), Equals(-9));}
  6. It(test4){Assert::That(remainder(5, 5), Equals(0));}
  7. };