コード例 #1
0
        public virtual void TestReadACK_NAK()
        {
            ObjectId        expid = ObjectId.FromString("fcfcfb1fd94829c1a1704f894fc111d14770d34e");
            MutableObjectId actid = new MutableObjectId();

            actid.FromString(expid.Name);
            Init("0008NAK\n");
            NUnit.Framework.Assert.AreEqual(PacketLineIn.AckNackResult.NAK, @in.ReadACK(actid
                                                                                        ));
            NUnit.Framework.Assert.AreEqual(expid, actid);
            AssertEOF();
        }