コード例 #1
0
        public void Test_Program_Header_Line()
        {
            string line = "Fastrax Rinex v 1.10                                        PGM / RUN BY / DATE ";

            Rinex.IO.Interface.IRinexObservationHeaderParser p = new Rinex.IO.Support.RinexObservationHeaderParser();
            IProgramHeader output = p.ParseProgramHeader(line);
        }
コード例 #2
0
        public void Test_Obervation_Header_Line()
        {
            string line = "     2.10           O                   G                   RINEX VERSION / TYPE";

            Rinex.IO.Interface.IRinexObservationHeaderParser p = new Rinex.IO.Support.RinexObservationHeaderParser();
            IRinexHeader output = p.ParseHeaderInformation(line);
        }
コード例 #3
0
        public void Test_Types_Parsing_2()
        {
            int    Count = 0;
            string line  = "     3    C1    L1    P1                                    # / TYPES OF OBSERV";

            Rinex.IO.Interface.IRinexObservationHeaderParser p = new Rinex.IO.Support.RinexObservationHeaderParser();
            int[] output = p.ParseSignalTypes(line, out Count);

            Assert.AreEqual(3, output.Length);
            Assert.AreEqual(0, output[0]);
            Assert.AreEqual(4, output[1]);
            Assert.AreEqual(2, output[2]);
            Assert.AreEqual(3, Count);
        }