public void TestTest()
    {
        var constraint = new SwingConstraint(-0.1f, +0.2f, -0.3f, +0.4f);

        Assert.IsTrue(constraint.Test(new Swing(-0.09f, 0)));
        Assert.IsFalse(constraint.Test(new Swing(-0.11f, 0)));

        Assert.IsTrue(constraint.Test(new Swing(+0.19f, 0)));
        Assert.IsFalse(constraint.Test(new Swing(+0.21f, 0)));

        Assert.IsTrue(constraint.Test(new Swing(0, -0.29f)));
        Assert.IsFalse(constraint.Test(new Swing(0, -0.31f)));

        Assert.IsTrue(constraint.Test(new Swing(0, +0.39f)));
        Assert.IsFalse(constraint.Test(new Swing(0, +0.41f)));
    }