1234567891011 |
- Describe(letter_distance_tests)
- {
- It(test1){Assert::That(letterDistance("house", "fly"), Equals(11));}
- It(test2){Assert::That(letterDistance("sharp", "sharq"), Equals(1));}
- It(test3){Assert::That(letterDistance("abcde", "bcdef"), Equals(5));}
- It(test4){Assert::That(letterDistance("abcde", "a"), Equals(4));}
- It(test5){Assert::That(letterDistance("abcde", "e"), Equals(8));}
- It(test6){Assert::That(letterDistance("very", "fragile"), Equals(67));}
- It(tests_with_capital_letters_1){Assert::That(letterDistance("abcde", "Abcde"), Equals(32));}
- It(tests_with_capital_letters_2){Assert::That(letterDistance("abcde", "A"), Equals(36));}
- };
|