12345678910 |
- Describe(remove_special_characters)
- {
- It(test1){Assert::That(removeSpecialCharacters("The quick brown fox!"), Equals("The quick brown fox"));}
- It(test2){Assert::That(removeSpecialCharacters("%fd76$fd(-)6GvKlO."), Equals("fd76fd-6GvKlO"));}
- It(test3){Assert::That(removeSpecialCharacters("D0n$c sed 0di0 du1"), Equals("D0nc sed 0di0 du1"));}
- It(test4){Assert::That(removeSpecialCharacters("cat_pic.jpeg"), Equals("cat_picjpeg"));}
- It(test5){Assert::That(removeSpecialCharacters("519-555-8093"), Equals("519-555-8093"));}
- It(test6){Assert::That(removeSpecialCharacters("h-d+=rf[]_{}<>.,`~!@#$%^&*(|)"), Equals("h-drf_"));}
- It(test7){Assert::That(removeSpecialCharacters("Etiam#!!!!!,,, [`po%rta ~sem!] {male*su-ada} (ma*gna) mo^llis... eui$smod???"), Equals("Etiam porta sem malesu-ada magna mollis euismod"));}
- };
|