예제 #1
0
 public void TemperatureEquality_DifferentType_NotEqual()
 {
     EqualityTester.Act(32, "a", false);
 }
예제 #2
0
 public void TemperatureEquality_SameTypeAndSameState_Equal()
 {
     EqualityTester.Act(54, 54, true);
 }
예제 #3
0
 public void TemperatureEquality_SameTypeAndDifferentState_NotEqual()
 {
     EqualityTester.Act(45, 34, false);
 }
 public void HumidityEquality_SameTypeAndDifferentState_NotEqual()
 {
     EqualityTester.Act(45, 34, false);
 }
 public void HumidityEquality_DifferentType_NotEqual()
 {
     EqualityTester.Act(32, "a", false);
 }
예제 #6
0
 public void TimeEquality_DifferentType_NotEqual()
 {
     EqualityTester.Act(new Time(10, 30), "a", false);
 }
 public void HumidityEquality_SameTypeAndSameState_Equal()
 {
     EqualityTester.Act(54, 54, true);
 }
예제 #8
0
 public void TimeEquality_SameTypeAndDifferentState_NotEqual()
 {
     EqualityTester.Act(new Time(10, 30), new Time(4, 30), false);
 }
예제 #9
0
 public void TimeEquality_SameTypeAndSameState_Equal()
 {
     EqualityTester.Act(new Time(10, 30), new Time(10, 30), true);
 }
 public void DateEquality_DifferentType_NotEqual()
 {
     EqualityTester.Act(new Date(3, 4, 2000), "a", false);
 }
 public void DateEquality_SameTypeAndDifferentState_NotEqual()
 {
     EqualityTester.Act(new Date(3, 4, 2000), new Date(3, 14, 2000), false);
 }
 public void DateEquality_SameTypeAndSameState_Equal()
 {
     EqualityTester.Act(new Date(3, 4, 2000), new Date(3, 4, 2000), true);
 }