public void Test2() { bool weekday = false; bool golf = false; //act bool isHooky = BasicProgramming.IsHooky(weekday, golf); //assert Assert.AreEqual(true, isHooky, "Its a weekend so we are playing hooky which means true."); }
public void Test3() { bool weekday = true; bool golf = false; //act bool isHooky = BasicProgramming.IsHooky(weekday, golf); //assert Assert.AreEqual(false, isHooky, "Its a weekday but we are not playing golf so we return false here"); }
public void Test1() { //arrange bool weekday = true; bool golf = true; //act bool isHooky = BasicProgramming.IsHooky(weekday, golf); //assert Assert.AreEqual(true, isHooky, "Its a weekend and we are playing golf so return true."); }