public void LongOneTest() { long oneLong = 1; string oneString = "1001"; FourSlotPrinterNumber zero = new FourSlotPrinterNumber(oneLong); Assert.That(zero.ToLong(), Is.EqualTo(oneLong)); Assert.That(zero.ToString(), Is.EqualTo(oneString)); }
public void LongNineTest() { long nineLong = 9; string nineString = "1009"; FourSlotPrinterNumber zero = new FourSlotPrinterNumber(nineLong); Assert.That(zero.ToLong(), Is.EqualTo(nineLong)); Assert.That(zero.ToString(), Is.EqualTo(nineString)); }
public void LongZeroTest() { long zeroLong = 0; string zeroString = "1000"; FourSlotPrinterNumber zero = new FourSlotPrinterNumber(zeroLong); Assert.That(zero.ToLong(), Is.EqualTo(zeroLong)); Assert.That(zero.ToString(), Is.EqualTo(zeroString)); }