예제 #1
0
        public void RecordState_ParseServerAnswer_1()
        {
            string      line  = "0 161608#0 0#1 101#";
            RecordState state = RecordState.ParseServerAnswer(line);

            Assert.AreEqual(0, state.Id);
            Assert.AreEqual(161608, state.Mfn);
            Assert.AreEqual(0, (int)state.Status);
            Assert.AreEqual(1, state.Version);
        }
예제 #2
0
        public void RecordState_ParseServerAnswer_2()
        {
            string line = "0 161608#0 0";

            RecordState.ParseServerAnswer(line);
        }