@Override
  public String toString() {
    return String.format("[%d,%d,%d,%d]", getLeft(), getTop(), getRight(), getBottom());
  }
@Test
  void testToString() {
    final var rectangle = new Rectangle(1, 2, 3, 4);
    assertEquals("[1,2,3,4]", rectangle.toString());
  }