public void Same_byte_arrays_give_equal_bytes32() { Bytes32 bytes32A = Bytes32.Wrap(TestItem.KeccakA.Bytes); Bytes32 bytes32B = Bytes32.Wrap(TestItem.KeccakA.Bytes); bytes32A.Should().Be(bytes32B); }
public void Equal_byte_arrays_give_equal_bytes32() { Bytes32 bytes32A = Bytes32.Wrap(TestItem.KeccakA.Bytes); Bytes32 bytes32B = Bytes32.Wrap((byte[])TestItem.KeccakA.Bytes.Clone()); bytes32A.Should().Be(bytes32B); }