unitTest.cpp 329 B

1234567
  1. Describe(concatenate_first_last_name_tests)
  2. {
  3. It(test1){Assert::That(concatName("John", "Doe"), Equals("Doe, John"));}
  4. It(test2){Assert::That(concatName("First", "Last"), Equals("Last, First"));}
  5. It(test3){Assert::That(concatName("A", "B"), Equals("B, A"));}
  6. It(test4){Assert::That(concatName(",", ","), Equals(",, ,"));}
  7. };