nmeatest

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package nmeatest provides common functionality for testing NMEA sentence parsers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestSentenceParserFunc

func TestSentenceParserFunc(t *testing.T, options []nmea.ParserOption, testCases []TestCase)

Types

type TestCase

type TestCase struct {
	Skip        string
	Options     []nmea.ParserOption
	S           string
	ExpectedErr error
	Expected    nmea.Sentence
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL