public TrackKern(int degree, float minPointSize, float minKern, float maxPointSize,
            float maxKern)
    {
        this.degree = degree;
        this.minPointSize = minPointSize;
        this.minKern = minKern;
        this.maxPointSize = maxPointSize;
        this.maxKern = maxKern;
    }
@Test
    void testTrackKern()
    {
        TrackKern trackKern = new TrackKern(0, 1.0f, 1.0f, 10.0f, 10.0f);
        assertEquals(0, trackKern.getDegree());
        assertEquals(1.0f, trackKern.getMinPointSize(), 0.0f);
        assertEquals(1.0f, trackKern.getMinKern(), 0.0f);
        assertEquals(10.0f, trackKern.getMaxPointSize(), 0.0f);
        assertEquals(10.0f, trackKern.getMaxKern(), 0.0f);
    }