@Test
    void testRanges() {
        DefLine i = new DefLine("i int range=[0, 100]");
        DefLine l = new DefLine("l long range=[-1e10, 0]");
        DefLine d = new DefLine("d double range=[0, 1.0]");
        assertEquals("[0, 100]", i.getRange());
        assertEquals("[-1e10, 0]", l.getRange());
        assertEquals("[0, 1.0]", d.getRange());
    }
'file' parameters with default value is currently (2010-01-05) not allowed, but that might change in
the future, so the test is included to verify that value and name can be retrieved.
configgen/src/test/java/com/yahoo/config/codegen/DefLineParsingTest.java