public void State_NotEquals_DifferentState() { IComponentState state1 = new NamedComponentState("Off"); IComponentState state2 = new NumericSensorValue(5); state1.Equals(state2).ShouldBeEquivalentTo(false); }
public void State_NotEquals_State() { IComponentState state1 = new NamedComponentState("Off"); IComponentState state2 = new NamedComponentState("On"); state1.Equals(state2).ShouldBeEquivalentTo(false); }