public void Contains_finds_start_state() { Leg leggy = new Leg { End = State.Alabama, Start = State.Ohio, Length = 3.4M }; Assert.IsTrue(leggy.Contains(State.Ohio)); }
public void Contains_finds_no_state() { Leg leggy = new Leg { End = State.Alabama, Start = State.Ohio, Length = 3.4M }; Assert.IsFalse(leggy.Contains(State.Oregon)); }