public void CreateTest() { var result = new ValueElement(5); var expected = "5"; Assert.AreEqual(expected, result.ToString()); }
public void CreatePercentage() { ValueElement actual = new ValueElement(7) { Valuetype = ValueElement.valuetype.Percentage }; string expected = "7%"; Assert.AreEqual(expected, actual.ToString()); }
public void CreateEuro() { ValueElement result = new ValueElement(5) { Valuetype = ValueElement.valuetype.Euro }; string expected = "€5"; Assert.AreEqual(expected, result.ToString()); }