public void GetAllergyScores_IsAllergicToEggs_True() { //Arrange AllergyScores score = new AllergyScores(1); //Act //Arrange Assert.AreEqual(true, score.GetEggs()); }
public void GetAllergyScores_IsAllergicToPeanuts_True() { //Arrange AllergyScores score = new AllergyScores(2); //Act //Arrange Assert.AreEqual(true, score.GetPeanuts()); }
public void GetAllergyScores_IsAllergicToShellfish_True() { //Arrange AllergyScores score = new AllergyScores(4); //Act //Arrange Assert.AreEqual(true, score.GetShellfish()); }
public void GetAllergyScores_IsAllergicToStrawberries_True() { //Arrange AllergyScores score = new AllergyScores(8); //Act //Arrange Assert.AreEqual(true, score.GetStrawberries()); }
public void GetAllergyScores_IsAllergicToPChocolate_True() { //Arrange AllergyScores score = new AllergyScores(32); //Act //Arrange Assert.AreEqual(true, score.GetChocolate()); }
public void GetAllergyScores_IsAllergicToPollen_True() { //Arrange AllergyScores score = new AllergyScores(64); //Act //Arrange Assert.AreEqual(true, score.GetPollen()); }