unitTest.cpp 738 B

123456789101112131415
  1. Describe(convert_month_tests)
  2. {
  3. It(test1){Assert::That(monthName(1), Equals("January"));}
  4. It(test2){Assert::That(monthName(2), Equals("February"));}
  5. It(test3){Assert::That(monthName(3), Equals("March"));}
  6. It(test4){Assert::That(monthName(4), Equals("April"));}
  7. It(test5){Assert::That(monthName(5), Equals("May"));}
  8. It(test6){Assert::That(monthName(6), Equals("June"));}
  9. It(test7){Assert::That(monthName(7), Equals("July"));}
  10. It(test8){Assert::That(monthName(8), Equals("August"));}
  11. It(test9){Assert::That(monthName(9), Equals("September"));}
  12. It(test10){Assert::That(monthName(10), Equals("October"));}
  13. It(test11){Assert::That(monthName(11), Equals("November"));}
  14. It(test12){Assert::That(monthName(12), Equals("December"));}
  15. };