Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 3
0
 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));
 }
Exemplo n.º 4
0
 public void LongMinusOneTest()
 {
     long minusOneLong = -1;
     FourSlotPrinterNumber minusOne = new FourSlotPrinterNumber(minusOneLong);
 }
Exemplo n.º 5
0
 public void LongMinusMaxTest()
 {
     long minusMaxLong = long.MinValue;
     FourSlotPrinterNumber minusOne = new FourSlotPrinterNumber(minusMaxLong);
 }