unitTest.cpp 659 B

12345678910111213
  1. Describe(basic_tests)
  2. {
  3. It(test1){Assert::That(convertToRoman(2), Equals("II"));}
  4. It(test2){Assert::That(convertToRoman(12), Equals("XII"));}
  5. It(test3){Assert::That(convertToRoman(16), Equals("XVI"));}
  6. It(test4){Assert::That(convertToRoman(44), Equals("XLIV"));}
  7. It(test5){Assert::That(convertToRoman(68), Equals("LXVIII"));}
  8. It(test6){Assert::That(convertToRoman(400), Equals("CD"));}
  9. It(test7){Assert::That(convertToRoman(798), Equals("DCCXCVIII"));}
  10. It(test8){Assert::That(convertToRoman(1000), Equals("M"));}
  11. It(test9){Assert::That(convertToRoman(3999), Equals("MMMCMXCIX"));}
  12. It(test10){Assert::That(convertToRoman(649), Equals("DCXLIX"));}
  13. };