async def METHOD_NAME() -> None:
    """Test that you can create reverse animations.
    Regression test for #1372 https://github.com/Textualize/textual/issues/1372
    """
    app = AnimApp()
    async with app.run_test() as pilot:
        static = app.query_one(Static)
        styles = static.styles
        # Starting point.
        styles.background = "black"
        assert styles.background.rgb == (0, 0, 0)
        # First, make sure we can go from black to white and back, step by step.
        styles.animate("background", "white", duration=0.01)
        await pilot.wait_for_animation()
        assert styles.background.rgb == (255, 255, 255)
        styles.animate("background", "black", duration=0.01)
        await pilot.wait_for_animation()
        assert styles.background.rgb == (0, 0, 0)
        # Now, the actual test is to make sure we go back to black if creating both at once.
        styles.animate("background", "white", duration=0.01)
        styles.animate("background", "black", duration=0.01)
        await pilot.wait_for_animation()
        assert styles.background.rgb == (0, 0, 0)