Lines Matching refs:Translate
41 assertEquals(0, NoChunkTranslator.Translate(0));
42 assertEquals(10, NoChunkTranslator.Translate(10));
48 assertEquals(0, SingleChunkTranslator.Translate(0));
49 assertEquals(5, SingleChunkTranslator.Translate(5));
50 assertEquals(10, SingleChunkTranslator.Translate(10));
51 assertEquals(19, SingleChunkTranslator.Translate(19));
52 assertEquals(2010, SingleChunkTranslator.Translate(20, Return2010));
53 assertEquals(25, SingleChunkTranslator.Translate(30));
54 assertEquals(26, SingleChunkTranslator.Translate(31));
55 assertEquals(2010, SingleChunkTranslator.Translate(26, Return2010));
58 SingleChunkTranslator.Translate(21);
63 SingleChunkTranslator.Translate(24);
84 assertEquals(5, MultiChunkTranslator.Translate(5));
85 assertEquals(9, MultiChunkTranslator.Translate(9));
86 assertEquals(2010, MultiChunkTranslator.Translate(10, Return2010));
87 assertEquals(15, MultiChunkTranslator.Translate(20));
88 assertEquals(20, MultiChunkTranslator.Translate(25));
89 assertEquals(34, MultiChunkTranslator.Translate(39));
90 assertEquals(50, MultiChunkTranslator.Translate(40, Return2010));
91 assertEquals(55, MultiChunkTranslator.Translate(45));
92 assertEquals(69, MultiChunkTranslator.Translate(59));
93 assertEquals(2010, MultiChunkTranslator.Translate(60, Return2010));
94 assertEquals(70, MultiChunkTranslator.Translate(70));
95 assertEquals(75, MultiChunkTranslator.Translate(75));