unitTest.cpp 686 B

12345678910
  1. Describe(parseltongue_tests)
  2. {
  3. It(test1){Assert::That(isParselTongue("Sshe ssselectss to eat that apple."), Equals(true));}
  4. It(test2){Assert::That(isParselTongue("She ssselects to eat that apple."), Equals(false));}
  5. It(test3){Assert::That(isParselTongue("You ssseldom sssspeak sso boldly, ssso messmerizingly."), Equals(true));}
  6. It(test4){Assert::That(isParselTongue("Steve likes to eat pancakes"), Equals(false));}
  7. It(test5){Assert::That(isParselTongue("Sssteve likess to eat pancakess"), Equals(true));}
  8. It(test6){Assert::That(isParselTongue("Beatrice samples lemonade"), Equals(false));}
  9. It(test7){Assert::That(isParselTongue("Beatrice enjoysss lemonade"), Equals(true));}
  10. };