super( string );
}
public void test()
{
final StringTokenizer stk = new StringTokenizer(
"GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47",
","
);
assertTrue( stk.hasMoreTokens() );
assertEquals( "GPGGA", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "123519", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "4807.038", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "N", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "01131.000", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "E", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "1", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "08", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "0.9", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "545.4", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "M", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "46.9", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "M", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "", stk.nextToken() );
assertTrue( stk.hasMoreTokens() );
assertEquals( "*47", stk.nextToken() );
assertFalse( stk.hasMoreTokens() );
}