use of net.sf.marineapi.nmea.sentence.SentenceId in project marine-api by ktuukkan.
the class SentenceFactoryTest method testListParsers.
/**
* Test method for
* {@link net.sf.marineapi.nmea.parser.SentenceFactory#createParser(TalkerId, SentenceId)
* .
*/
@Test
public void testListParsers() {
List<String> types = instance.listParsers();
assertEquals(SentenceId.values().length, types.size());
for (SentenceId id : SentenceId.values()) {
assertTrue(types.contains(id.name()));
}
}
Aggregations