public void CostTest() { fr_videoRental_System.Task.operations obj = new fr_videoRental_System.Task.operations(); if (obj.getCost(1) > 0) { Assert.IsTrue(true); } else { Assert.IsTrue(false); } }
public void MainFormTest() { fr_videoRental_System.Task.operations obj = new fr_videoRental_System.Task.operations(); int z = obj.findcost(2019); if (z == 5) { Assert.IsTrue(true); } else { Assert.IsTrue(false); } }