unitTest.cpp 445 B

12345678
  1. Describe(hacker_speak_tests)
  2. {
  3. It(T1){Assert::That(hackerSpeak("javascript is cool"), Equals("j4v45cr1pt 15 c00l"));}
  4. It(T2){Assert::That(hackerSpeak("become a coder"), Equals("b3c0m3 4 c0d3r"));}
  5. It(T3){Assert::That(hackerSpeak("hi there"), Equals("h1 th3r3"));}
  6. It(T4){Assert::That(hackerSpeak("programming is fun"), Equals("pr0gr4mm1ng 15 fun"));}
  7. It(T5){Assert::That(hackerSpeak("keep on practicing"), Equals("k33p 0n pr4ct1c1ng"));}
  8. };