unitTest.cpp 506 B

12345678910
  1. Describe(comparing_length_of_two_words)
  2. {
  3. It(test1){Assert::That(comp("AB", "CD"), Equals(true));}
  4. It(test2){Assert::That(comp("ABC", "DE"), Equals(false));}
  5. It(test3){Assert::That(comp("hello", "edabit"), Equals(false));}
  6. It(test4){Assert::That(comp("meow", "woof"), Equals(true));}
  7. It(test5){Assert::That(comp("jrnvjrnnt", "cvjknfjvmfvnfjn"), Equals(false));}
  8. It(test6){Assert::That(comp("jkvnjrt", "krnf"), Equals(false));}
  9. It(test7){Assert::That(comp("Facebook", "Snapchat"), Equals(true));}
  10. };