public void LengthCanBeCheckedWithGetLength() { Pencil pencil = new Pencil(tipDurability20, length500); expectedInt = length500; actualInt = pencil.GetLength(); Assert.AreEqual(expectedInt, actualInt); }
public void SharpenReducesPencilLengthBy1() { Pencil lengthPencil = new Pencil(tipDurability20, length500); expectedInt = length500 - 1; lengthPencil.Sharpen(); actualInt = lengthPencil.GetLength(); Assert.AreEqual(expectedInt, actualInt); }