我有
var xmlConfiguration = InitTestConfiguration();
var xmlConfiguration2 = InitTestConfiguration();
Assert.AreEqual(xmlConfiguration, xmlConfiguration2);
我得到这个错误:
Expected: <XmlConfiguration`1[Tests.TestConfiguration]>
But was: <XmlConfiguration`1[Tests.TestConfiguration]>
whereXmlConfiguration
是一个包含字符串和整数的类。
我究竟做错了什么?