public void Toast_OnTest() { var controller = new ToastersController(); if (controller.GetCurrentStatus() == Models.Status.On) { controller.Toast(Models.Status.Off); } controller.SetToasts(2); Assert.IsTrue(controller.Toast(Models.Status.On) == Models.Status.On, "The toaster status is Off"); }
public void SetToastsTest() { var controller = new ToastersController(); Assert.IsTrue(controller.SetToasts(2) == 2, "SetToasts not working"); }