unitTest.cpp 445 B

12345678
  1. Describe(tests)
  2. {
  3. It(test1){Assert::That(spoonerise("crushing failure"), Equals("fushing crailure"));}
  4. It(test2){Assert::That(spoonerise("christmas eve"), Equals("istmas chreve"));}
  5. It(test3){Assert::That(spoonerise("highlighter fluid"), Equals("flighlighter huid"));}
  6. It(test4){Assert::That(spoonerise("chocolate biscuits"), Equals("bocolate chiscuits"));}
  7. It(test5){Assert::That(spoonerise("edabit rules!"), Equals("redabit ules!"));}
  8. };