unitTest.cpp 471 B

12345678910
  1. Describe(equal_slices)
  2. {
  3. It(test1){Assert::That(equalSlices(8, 3, 2), Equals(true));}
  4. It(test2){Assert::That(equalSlices(8, 3, 3), Equals(false));}
  5. It(test3){Assert::That(equalSlices(24, 12, 2), Equals(true));}
  6. It(test4){Assert::That(equalSlices(5, 6, 1), Equals(false));}
  7. It(test5){Assert::That(equalSlices(5, 0, 100), Equals(true));}
  8. It(test6){Assert::That(equalSlices(15, 2, 7), Equals(true));}
  9. It(test7){Assert::That(equalSlices(15, 2, 8), Equals(false));}
  10. };