public void CircleHitOctagonTest() { var oct = new OctagonHitbox(50, 50, new Vector2(120, 210)); var actual = c.Hit(oct); Assert.AreEqual(true, actual); }
public void TestMethod3() { var testBox = new OctagonHitbox(20, 2000, new Vector2(200, 140)); bool expected = true; bool actual = box2.Hit(testBox); Assert.AreEqual(expected, actual); }
public void TestMethod2() { OctagonHitbox testbox = new OctagonHitbox(20, 20, new Vector2(150, 60)); bool actual = hitbox.Hit(testbox); bool expected = true; Assert.AreEqual(expected, actual); }