public void TSTestIsEmpty() { bool expected = true; int num = 4; TickerSet tS = new TickerSet(num, "Set Name"); bool result = tS.isEmpty(); Assert.AreEqual(expected, result); }
public void TSTestReset() { bool expected = true; bool result = false; int num = 3; Ticker tick = new Ticker(4, 10); TickerSet tS = new TickerSet(num, "Set Name"); tS.addFull(tick); tS.reset(); if (tS.isEmpty()) { result = true; } Assert.AreEqual(expected, result); }