unitTest.cpp 520 B

12345678910
  1. Describe(less_than_or_equal_to_zero)
  2. {
  3. It(test1){Assert::That(lessThanOrEqualToZero(5), Equals(false));}
  4. It(test2){Assert::That(lessThanOrEqualToZero(0), Equals(true));}
  5. It(test3){Assert::That(lessThanOrEqualToZero(-5), Equals(true));}
  6. It(test4){Assert::That(lessThanOrEqualToZero(1), Equals(false));}
  7. It(test5){Assert::That(lessThanOrEqualToZero(2), Equals(false));}
  8. It(test6){Assert::That(lessThanOrEqualToZero(10000), Equals(false));}
  9. It(test7){Assert::That(lessThanOrEqualToZero(1), Equals(false));}
  10. };