public void BinSearchSmallCheck() { var o = new BinSearchSmall { MyP1 = 1, MyP2 = 10, MyP3 = 1000, MyP4 = 100000, MyP5 = 32421, MyP6 = 52521, MyP7 = 46363631, MyP8 = 7373731, MyP9 = 73573731, }; var bin = MessagePackSerializer.Serialize(o, MessagePack.Resolvers.ContractlessStandardResolver.Options); var v = MessagePackSerializer.Deserialize <BinSearchSmall>(bin, MessagePack.Resolvers.ContractlessStandardResolver.Options); v.MyP1.Is(o.MyP1); v.MyP2.Is(o.MyP2); v.MyP3.Is(o.MyP3); v.MyP4.Is(o.MyP4); v.MyP5.Is(o.MyP5); v.MyP6.Is(o.MyP6); v.MyP7.Is(o.MyP7); v.MyP8.Is(o.MyP8); v.MyP9.Is(o.MyP9); }
public void BinSearchSmallCheck() { var o = new BinSearchSmall { MyP1 = 1, MyP2 = 10, MyP3 = 1000, MyP4 = 100000, MyP5 = 32421, MyP6 = 52521, MyP7 = 46363631, MyP8 = 7373731, MyP9 = 73573731, }; var bin = MessagePackSerializer.Serialize(o); var v = MessagePackSerializer.Deserialize <BinSearchSmall>(bin); v.MyP1.Is(o.MyP1); v.MyP2.Is(o.MyP2); v.MyP3.Is(o.MyP3); v.MyP4.Is(o.MyP4); v.MyP5.Is(o.MyP5); v.MyP6.Is(o.MyP6); v.MyP7.Is(o.MyP7); v.MyP8.Is(o.MyP8); v.MyP9.Is(o.MyP9); }