public void TestSentence1_If_Statement_Block_2_1() { var builder = new HealthProfilesKeyMessage1Builder() { data = Sentence1Data(.5, .11, 0) }; var sentence1 = builder.GetSentence1(); Assert.AreEqual("The health of people in Derby is generally better than the England average.", sentence1); }
public void TestSentence1_If_Statement_Block_1_Worng_Values_2() { var builder = new HealthProfilesKeyMessage1Builder() { data = Sentence1Data(.2, .4, 5) }; var sentence1 = builder.GetSentence1(); Assert.AreNotEqual("The health of people in Derby is generally worse than the England average.", sentence1); }
public void TestSentence1_If_Statement_Block_4() { var builder = new HealthProfilesKeyMessage1Builder() { data = Sentence1Data(0, 0, 0) }; var sentence1 = builder.GetSentence1(); Assert.AreEqual("The health of people in Derby is varied compared with the England average.", sentence1); }
public void TestSentence1_If_Statement_Block_3() { var builder = new HealthProfilesKeyMessage1Builder() { data = Sentence1Data(0, 0, 1) }; var sentence1 = builder.GetSentence1(); Assert.AreEqual("The health of people in Derby is generally similar to the England average.", sentence1); }