public void TestIs18GoldTime() { LaMarmotte testMarmotte = new LaMarmotte(); int age = 18; int sec = 27008; bool result = testMarmotte.IsGoldTime(age, sec); Assert.IsTrue(result, "YOU ARE WROOoONG!"); }
public void TestIs30NotGoldTime() { LaMarmotte testMarmotte = new LaMarmotte(); int age = 39; int sec = 39268; bool result = testMarmotte.IsGoldTime(age, sec); Assert.IsFalse(result, "YOU ARE WROOOONG!"); }