コード例 #1
0
        public void get_hash_code_returns_same_hash_for_equal_records()
        {
            var record1 = new ConcreteRecordBase("first", "second", "third");
            var record2 = new ConcreteRecordBase("first", "second", "third");

            Assert.Equal(record1.GetHashCode(), record2.GetHashCode());
        }
コード例 #2
0
ファイル: RecordBaseFixture.cs プロジェクト: mujiansu/KBCsv
        public void get_hash_code_returns_same_hash_for_equal_records()
        {
            var record1 = new ConcreteRecordBase("first", "second", "third");
            var record2 = new ConcreteRecordBase("first", "second", "third");

            Assert.Equal(record1.GetHashCode(), record2.GetHashCode());
        }