unitTest.cpp 688 B

1234567891011121314
  1. Describe(is_plural)
  2. {
  3. It(test1){Assert::That(isPlural("dudes"), Equals(true));}
  4. It(test2){Assert::That(isPlural("flowers"), Equals(true));}
  5. It(test3){Assert::That(isPlural("checks"), Equals(true));}
  6. It(test4){Assert::That(isPlural("varies"), Equals(true));}
  7. It(test5){Assert::That(isPlural("efforts"), Equals(true));}
  8. It(test6){Assert::That(isPlural("mood"), Equals(false));}
  9. It(test7){Assert::That(isPlural("whiteboard"), Equals(false));}
  10. It(test8){Assert::That(isPlural("cow"), Equals(false));}
  11. It(test9){Assert::That(isPlural("word"), Equals(false));}
  12. It(test10){Assert::That(isPlural("love"), Equals(false));}
  13. It(test11){Assert::That(isPlural("silly"), Equals(false));}
  14. };