unitTest.cpp 850 B

12345678910111213
  1. Describe(name_shuffle)
  2. {
  3. It(test1){Assert::That(nameShuffle("Donald Trump"), Equals("Trump Donald"));}
  4. It(test2){Assert::That(nameShuffle("Rosie O'Donnel"), Equals("O'Donnel Rosie"));}
  5. It(test3){Assert::That(nameShuffle("Seymour Butts"), Equals("Butts Seymour"));}
  6. It(test4){Assert::That(nameShuffle("Ebony Greene"), Equals("Greene Ebony"));}
  7. It(test5){Assert::That(nameShuffle("Ken Kennedy"), Equals("Kennedy Ken"));}
  8. It(test6){Assert::That(nameShuffle("Allison Gonzalez"), Equals("Gonzalez Allison"));}
  9. It(test7){Assert::That(nameShuffle("Albert Frazier"), Equals("Frazier Albert"));}
  10. It(test8){Assert::That(nameShuffle("Eloise Hopkins"), Equals("Hopkins Eloise"));}
  11. It(test9){Assert::That(nameShuffle("Donnie Welch"), Equals("Welch Donnie"));}
  12. It(test10){Assert::That(nameShuffle("Vernon Thomas"), Equals("Thomas Vernon"));}
  13. };