public void EmptyTest() { var target = new GLL(); // TODO: Initialize to an appropriate value target.Empty(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void ParseTest() { var target = new GLL(); // TODO: Initialize to an appropriate value Sentence sentence = null; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual = target.Parse(sentence); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void Can_parse_well_formed_sentence() { var bytes = Encoding.UTF8.GetBytes("$GPGLL,4916.45,N,12311.12,W,225444,A,*1D\r\n"); var buffer = new ReadOnlySequence <Byte>(bytes); var gll = new GLL().Parse(buffer) as GLL; gll.ShouldNotBeNull(); gll.Latitude.ShouldBe(49.27417d, 0.00001d); gll.Longitude.ShouldBe(-123.18533d, 0.00001d); gll.FixTime.ShouldBe(new TimeSpan(22, 54, 44)); gll.DataActive.ShouldBe('A'); gll.Checksum.ShouldBe(0x1D); }
static NMEAParser() { RMCSentence = new RMC(); GGASentence = new GGA(); GSASentence = new GSA(); GSVSentence = new GSV[4]; VTGSentence = new VTG(); HDTSentence = new HDT(); GLLSentence = new GLL(); lockGGA = new Object(); lockGSA = new Object(); lockRMC = new Object(); lockGSV = new Object(); lockVTG = new Object(); lockHDT = new Object(); lockGLL = new Object(); }
public void GLLConstructorTest() { var target = new GLL(); Assert.Inconclusive("TODO: Implement code to verify target"); }