public static void Main() { Debug.WriteLine("devMobile.IoT.CayenneLpp.NFLppEncoderTests starting"); Encoder encoder = new Encoder(51); encoder.GpsLocationAdd(1, 42.3519f, -87.9094f, 10.0f); string bcdText = encoder.Bcd(); Debug.Assert(22 == bcdText.Length, "Invalid BCD payload length"); Debug.Assert("018806765FF2960A0003E8" == bcdText, "Invalid BCD payload"); }