public void Contains_No_ReturnsFalse(float x, float y, float z) { var zone = new AlignedCubeZone(RegionKey.Neutral, ZoneKey.Goal, 10, 0, 0, 1, 1, 1); var position = new Vector3(x, y, z); var result = zone.Contains(position); Assert.IsFalse(result); }
public void IntersectedBy_No_ReturnFalse(float dx, float dy, float dz) { var zone = new AlignedCubeZone(RegionKey.Neutral, ZoneKey.Goal, 10, 0, 0, 1, 1, 1); var ray = new Ray(0, 0, 0, dx, dy, dz); var result = zone.IntersectedBy(ray); Assert.IsFalse(result); }