unitTest.cpp 265 B

123456
  1. Describe(milk_and_cookies)
  2. {
  3. It(test1){Assert::That(timeForMilkAndCookies(2013, 11, 24), Equals(true));}
  4. It(test2){Assert::That(timeForMilkAndCookies(2013, 0, 23), Equals(false));}
  5. It(test3){Assert::That(timeForMilkAndCookies(3000, 11, 24), Equals(true));}
  6. };