1234567891011121314 |
- Describe(tests)
- {
- It(test1){Assert::That(strongPassword("#Edabit"), Equals(1));}
- It(test2){Assert::That(strongPassword("Cr3ateAStr0ng1"), Equals(1));}
- It(test3){Assert::That(strongPassword("CreateAStrongOne"), Equals(2));}
- It(test4){Assert::That(strongPassword("willthispass"), Equals(3));}
- It(test5){Assert::That(strongPassword("w1llth!spass?"), Equals(1));}
- It(test6){Assert::That(strongPassword("W1llth!spass?"), Equals(0));}
- It(test7){Assert::That(strongPassword("1sth!"), Equals(1));}
- It(test8){Assert::That(strongPassword("sth!"), Equals(2));}
- It(test9){Assert::That(strongPassword("bd"), Equals(4));}
- It(test10){Assert::That(strongPassword("d"), Equals(5));}
- It(test11){Assert::That(strongPassword("[?"), Equals(4));}
- };
|