public void RenderMessage_Good_ReturnCorrectSentence() { var msg = new ScoreMessageMarkdown(); msg.Initialize(0.98m, 0.75m, true); Assert.That(msg.RenderMessage(), Is.StringContaining("good score")); }
public void RenderMessage_Insufficient_ReturnCorrectSentence() { var msg = new ScoreMessageMarkdown(); msg.Initialize(0.62m, 0.75m, false); Assert.That(msg.RenderMessage(), Is.StringContaining("insufficient score")); }