예제 #1
0
 public void CigarParty()
 {
     Assert.AreEqual(false, exercises.CigarParty(30, false), "Input: CigarParty (30, false)");
     Assert.AreEqual(true, exercises.CigarParty(50, false), "Input: CigarParty (50, false)");
     Assert.AreEqual(true, exercises.CigarParty(70, true), "Input: CigarParty (70, true)");
 }
예제 #2
0
 public void CigarParty(int i1, bool i2, bool op)
 {
     Assert.AreEqual(op, exercises.CigarParty(i1, i2), $"Input: CigarParty ({i1}, {i2})");
 }