public void TestToBytes() { RingSecret secret = new RingSecret() { GameID = 14129, Rings = Rings.PowerRingL1 | Rings.DoubleEdgeRing | Rings.ProtectionRing }; Assert.AreEqual(DesiredSecretBytes, secret.ToBytes()); }
public void TestToBytes() { byte[] bytes = DesiredSecret.ToBytes(); Assert.AreEqual(desiredSecretBytes, bytes); }