OptimiserCacheLine l1 = new OptimiserCacheLine("optimised query", 1000, 500, 1000); assertTrue("Score is " + l1.score(1000,0), 3.2 == l1.score(1000, 0)); assertTrue(2.4 == l1.score(1000, 100));
OptimiserCacheLine l1 = new OptimiserCacheLine("optimised query", 10000, 5000, 10000); assertTrue("Score is " + l1.score(10000,0), 3.2 == l1.score(10000, 0)); assertTrue(2.4 == l1.score(10000, 1000));
    public void test2() throws Exception {        OptimiserCacheLine l1 = new OptimiserCacheLine("optimised query", 1000, 500, 1000);        assertTrue("Score is " + l1.score(1000,0), 3.2 == l1.score(1000, 0));        assertTrue(2.4 == l1.score(1000, 100));    }