コード例 #1
0
 public void ThenEqualNumbersMatchCorrectly(double value, double input)
 {
     var subject = new NumericValue(value);
     Assert.That(subject.EqualTo(input), Is.True);
 }
コード例 #2
0
 public void ThenNotEqualNumbersDoNotMatch(double value, double input)
 {
     var subject = new NumericValue(value);
     Assert.That(subject.EqualTo(input), Is.False);
 }
コード例 #3
0
 public void ThenTheValueIsNotEqual()
 {
     var subject = new NumericValue(234);
     Assert.That(subject.EqualTo("segseg"), Is.False);
 }