Beispiel #1
0
        void BinaryHashInList()
        {
            var wrapped              = new WInt32(1);
            var wrapped2             = new WInt32(1);
            LazinatorList <WInt32> x = new LazinatorList <WInt32>();

            x.Add(wrapped2);
            x.GetListMemberHash32(0).Should().Be(wrapped.GetBinaryHashCode32());
            var clone = x.CloneLazinatorTyped();

            clone.GetListMemberHash32(0).Should().Be(wrapped.GetBinaryHashCode32());
        }