public void Overlaps_Completely_Mod() { //assign RangeCircular a = new RangeCircular(270, 450, 360); RangeCircular b = new RangeCircular(-5, 5, 360); //act bool resultA = a.Overlaps(b); bool resultB = b.Overlaps(a); //assert Assert.IsTrue(resultA); Assert.IsTrue(resultB); }
public void Overlaps_False() { //assign RangeCircular a = new RangeCircular(270, 300, 360); RangeCircular b = new RangeCircular(10, 30, 360); //act bool resultA = a.Overlaps(b); bool resultB = b.Overlaps(a); //assert Assert.IsFalse(resultA); Assert.IsFalse(resultB); }