@Test
    public void match() {
        assertTrue(generator.match("double|10-15"));
        assertTrue(generator.match("double|10.1-15"));
        assertTrue(generator.match("double|10.1-15.2"));
        assertTrue(generator.match("double|10.1-15.2|"));
        assertTrue(generator.match("double|10.1-15.2|%.2f"));
        assertFalse(generator.match("double"));
        assertFalse(generator.match("double|10.2.1-"));
    }
The test case for {@link RandomDoubleGenerator}.
shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java