public void Fourth2_HeightInvalid_Cm() { var input = new List <string> { "hgt:190" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsFalse(northPoleCredentials.IsHeightValid2()); }
public void Fourth2_HairColorInvalid() { var input = new List <string> { "hcl:#123abz" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsFalse(northPoleCredentials.IsHairColorValid2()); }
public void Fourth2_HeightValid_In() { var input = new List <string> { "hgt:60in" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsTrue(northPoleCredentials.IsHeightValid2()); }
public void Fourth2_BirthYearInvalid() { var input = new List <string> { "byr:2003" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsFalse(northPoleCredentials.IsBirthYearValid2()); }
public void Fourth2_PassportIDInvalid() { var input = new List <string> { "pid:0123456789" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsFalse(northPoleCredentials.IsPassportIDValid2()); }
public void Fourth2_PassportIDValid() { var input = new List <string> { "pid:000000001" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsTrue(northPoleCredentials.IsPassportIDValid2()); }
public void Fourth2_EyeColorInvalid() { var input = new List <string> { "ecl:wat" }; var northPoleCredentials = new NorthPoleCredentials(input); Assert.IsFalse(northPoleCredentials.IsEyeColorValid2()); }