p1 = new CategoryLabelPosition(RectangleAnchor.TOP, 
            TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertFalse(p1.equals(p2));
        p2 = new CategoryLabelPosition(RectangleAnchor.TOP, 
            TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertTrue(p1.equals(p2));
    
        p1 = new CategoryLabelPosition(
            RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, 
            Math.PI / 6.0, CategoryLabelWidthType.RANGE, 0.44f
        );
        assertFalse(p1.equals(p2));
        p2 = new CategoryLabelPosition(
            RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, 
            Math.PI / 6.0, CategoryLabelWidthType.RANGE, 0.44f
        );
        assertTrue(p1.equals(p2));