public void Part2Answers() { string s1 = "278384"; string s2 = "824795"; long result = Part2.NumberOfPasswords(s1, s2); Assert.Equal(603, result); }
static void Main(string[] args) { var solve1 = new Part1().Solve(); Console.WriteLine(solve1); var solve2 = new Part2().Solve(); Console.WriteLine(solve2); }
public void BaseCases(string password, bool isValidExpected) { bool isValid = Part2.IsValidPassword(password); Assert.Equal(isValidExpected, isValid); }