Skip to content

Commit

Permalink
last missing test line
Browse files Browse the repository at this point in the history
  • Loading branch information
NickMcSweeney committed Feb 15, 2024
1 parent 83f2eca commit 4c3572c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using Test, NMEAParser
open("testdata.txt", "r") do f
while !eof(f)
line = readline(f)

mtype = NMEAParser.parse_msg!(nmeas, line)

if (mtype == GGA)
Expand Down Expand Up @@ -151,6 +152,12 @@ end
@test NMEAParser.hash_msg(msg) === checksum
end

@testset "supported nmea" begin
line = raw"$GPGGA,134740.000,5540.3248,N,01231.2992,E,1,09,0.9,20.2,M,41.5,M,,0000*61"
@test !NMEAParser.is_string_proprietary(line)
@test !NMEAParser.is_string_supported(line)
end

@testset verbose = true "unit conversion" begin
@testset "Pos conversion" begin
# Test conversion from feet to meters
Expand Down

0 comments on commit 4c3572c

Please sign in to comment.