예제 #1
0
        public void TestToBytes()
        {
            RingSecret secret = new RingSecret()
            {
                GameID = 14129,
                Rings  = Rings.PowerRingL1 | Rings.DoubleEdgeRing | Rings.ProtectionRing
            };

            Assert.AreEqual(DesiredSecretBytes, secret.ToBytes());
        }
예제 #2
0
 public void TestToBytes()
 {
     byte[] bytes = DesiredSecret.ToBytes();
     Assert.AreEqual(desiredSecretBytes, bytes);
 }