def METHOD_NAME(manager):
    manager.test_window("one")
    assert_dimensions(manager, 0, 0, 798, 598)
    manager.test_window("two")
    assert_dimensions(manager, 400, 0, 398, 598)
    manager.c.layout.grow_main()
    assert_dimensions(manager, 480, 0, 318, 598)
    manager.c.layout.grow_main()
    assert_dimensions(manager, 560, 0, 238, 598)
    for _ in range(4):
        manager.c.layout.shrink_main()
    assert_dimensions(manager, 240, 0, 558, 598)