Exemple #1
0
 public void SetLongで値を設定してgetLongで取得する()
 {
     //setUp
     var sut = new MyPacket();
     const ulong expected = (long) 3333;
     sut.SetULong(expected, 20);
     //exercise
     var actual = sut.GetULong(20);
     //verify
     Assert.That(actual, Is.EqualTo(expected));
 }
Exemple #2
0
        public void SetLongで値を設定してgetLongで取得する()
        {
            //setUp
            var         sut      = new MyPacket();
            const ulong expected = (long)3333;

            sut.SetULong(expected, 20);
            //exercise
            var actual = sut.GetULong(20);

            //verify
            Assert.That(actual, Is.EqualTo(expected));
        }