public void Circles_Collide(Circle circle1, Circle circle2) { Assert.True( CollisionChecking.Circles( circle1.X, circle1.Y, circle1.Radius, circle2.X, circle2.Y, circle2.Radius ) ); }
public void Circles_Seperate(Circle circle1, Circle circle2) { Assert.False( CollisionChecking.Circles( circle1.X, circle1.Y, circle1.Radius, circle2.X, circle2.Y, circle2.Radius ) ); }
public void Circles() { Assert.True(CollisionChecking.Circles(10, 10, 5, 17, 10, 5)); Assert.False(CollisionChecking.Circles(10, 10, 5, 20, 10, 5)); }