public void FileInfoEquatable() { var fileinfo1 = new BucketInfo { { "key1", "value1" }, { "key2", "value2" } }; var fileinfo2 = new BucketInfo { { "key1", "value1" }, { "key2", "value2" } }; Assert.True(fileinfo1.Equals(fileinfo2)); Assert.Equal(fileinfo1.GetHashCode(), fileinfo2.GetHashCode()); }
public void BucketInfoEquatable() { var bucketinfo1 = new BucketInfo { { "key1", "value1" }, { "key2", "value2" } }; var bucketinfo2 = new BucketInfo { { "key1", "value1" }, { "key2", "value2" } }; Assert.True(bucketinfo1.Equals(bucketinfo2)); Assert.Equal(bucketinfo1.GetHashCode(), bucketinfo2.GetHashCode()); }