コード例 #1
0
 public void AnswerCell()
 {
     Assert.AreEqual(true, exercises.AnswerCell(false, false, false), "Input: AnswerCell (false, false, false)");
     Assert.AreEqual(false, exercises.AnswerCell(false, false, true), "Input: AnswerCell (false, false, true)");
     Assert.AreEqual(false, exercises.AnswerCell(true, false, false), "Input: AnswerCell (true, false, false)");
 }
コード例 #2
0
 public void AnswerCell(bool ip1, bool ip2, bool ip3, bool op)
 {
     Assert.AreEqual(op, exercises.AnswerCell(ip1, ip2, ip3), $"Input: AnswerCell ({ip1}, {ip2}, {ip3})");
 }