public virtual void testIncrementFromNewInstanceIsOne() { NumberedPrefix prefix = new NumberedPrefix(); prefix.increment(); Assert.AreEqual("1", prefix.Prefix); }
public virtual void testIncrementForThreePointFourPointThreeIsThreePointFourPointFour() { NumberedPrefix prefix = new NumberedPrefix(); prefix.Prefix = "3.4.3"; prefix.increment(); Assert.AreEqual("3.4.4", prefix.Prefix); }
public virtual void testIncrementForTwoPointTwoIsTwoPointThree() { NumberedPrefix prefix = new NumberedPrefix(); prefix.Prefix = "2.2"; prefix.increment(); Assert.AreEqual("2.3", prefix.Prefix); }
public void testIncrementForThreePointFourPointThreeIsThreePointFourPointFour() { NumberedPrefix prefix = new NumberedPrefix(); prefix.setPrefix("3.4.3"); prefix.increment(); Assert.AreEqual("3.4.4", prefix.getPrefix()); }
public void testIncrementForTwoPointTwoIsTwoPointThree() { NumberedPrefix prefix = new NumberedPrefix(); prefix.setPrefix("2.2"); prefix.increment(); Assert.AreEqual("2.3", prefix.getPrefix()); }