unitTest.cpp 386 B

12345678
  1. Describe(how_many_times)
  2. {
  3. It(test1){Assert::That(howManyTimes(5), Equals("Edaaaaabit"));}
  4. It(test2){Assert::That(howManyTimes(15), Equals("Edaaaaaaaaaaaaaaabit"));}
  5. It(test3){Assert::That(howManyTimes(10), Equals("Edaaaaaaaaaabit"));}
  6. It(test4){Assert::That(howManyTimes(23), Equals("Edaaaaaaaaaaaaaaaaaaaaaaabit"));}
  7. It(test5){Assert::That(howManyTimes(1), Equals("Edabit"));}
  8. };