예제 #1
0
 public void EqualTest(DigitalValue value1, DigitalValue value2, bool response)
 {
     value1.Equals(value2).Should().Be(response, "Value1 {0}, Value2 {1} => respone {2}", value1, value2, response);
 }
예제 #2
0
 public void NotEqualitytest(DigitalValue value1, DigitalValue value2, bool response)
 {
     (value1 != value2).Should().Be(!response, "Value1 {0}, Value2 {1} => respone {2}", value1, value2, !response);
 }
예제 #3
0
 public DigitalValueTest()
 {
     this.testee = new DigitalValue(false);
 }