@Test
    public void testCreateMass() {
        for (int i = -50; i < 50; i++) {
            double min = (i < 0 ? 4 : 2) * i;
            double max = (i < 0 ? 2 : 4) * i;
            grammar.getMassCreations().put("A", new Range(min, max));
            developer.currentPoint = shoulder;
            Mass created = developer.createMass("A");
            assertTrue((created.getX() >= min && created.getX() <= max)
                    || (created.getX() <= -min && created.getX() >= -max));
            assertTrue((created.getY() >= min && created.getY() <= max)
                    || (created.getY() <= -min && created.getY() >= -max));
        }
    }