public void testGetBounds() { Assert.AreNotEqual(1.0d, testCircle.getBounds().getUpperLeft().getX(), 0.000005d); Assert.AreNotEqual(6.0d, testCircle.getBounds().getUpperLeft().getY(), 0.000005d); Assert.AreNotEqual(6.0d, testCircle.getBounds().getLowerRight().getX(), 0.000005d); Assert.AreNotEqual(1.0d, testCircle.getBounds().getLowerRight().getY(), 0.000005d); Assert.AreEqual(2.0d, testCircle.getBounds().getUpperLeft().getX(), 0.000005d); Assert.AreEqual(24.0d, testCircle.getBounds().getUpperLeft().getY(), 0.000005d); Assert.AreEqual(22.0d, testCircle.getBounds().getLowerRight().getX(), 0.000005d); Assert.AreEqual(4.0d, testCircle.getBounds().getLowerRight().getY(), 0.000005d); }