public void TestRectAABB() { RectangleShape rectShape = new RectangleShape(new Vector2(0, 20.0f), 29, 3); Collision.Transform rectTransform = new Collision.Transform(new Vector2(-1709.34f, 402.0f), 1.2456f); Vector2 lb; Vector2 ub; rectShape.GetAABB(rectTransform, out lb, out ub); Console.WriteLine("Rectangle LB: " + lb); Assert.That(VectorEquals(lb, new Vector2(-1734.346f, 394.1706f)), "RectangleShape.GetAABB() lower bound is incorrect"); Console.WriteLine("Rectangle UB: " + ub); Assert.That(VectorEquals(ub, new Vector2(-1722.238f, 422.6092f)), "RectangleShape.GetAABB() upper bound is incorrect"); }