测试Equals方法非常简单(据我所知).但是你怎么测试这个GetHashCode方法呢?
Equals
GetHashCode
c# tdd unit-testing gethashcode
c# ×1
gethashcode ×1
tdd ×1
unit-testing ×1