예제 #1
0
 public void testTeXWordA() {
   assertEquals("width", texTok.nextWord());
   assertEquals("1", texTok.nextWord());
   assertEquals("1", texTok.nextWord());
   assertEquals("1cm", texTok.nextWord());
   assertEquals("1", texTok.nextWord());
   assertEquals("Key", texTok.nextWord());
   assertEquals("Words", texTok.nextWord());
 }
예제 #2
0
 public void testRead() {
   assertTrue(!texTok.getContext().equals(""));
 }