public void ValueEquality() { QuickFix.Dictionary first = new QuickFix.Dictionary("Name"); QuickFix.Dictionary second = new QuickFix.Dictionary("Name"); Assert.True(first.Equals(second)); first.SetString("THIRDKEY", "FIRST"); second.SetString("THIRDKEY", "SECOND"); Assert.False(first.Equals(second)); first.SetString("THIRDKEY", "SECOND"); Assert.True(first.Equals(second)); first.SetString("FIRSTKEY", "FIRSTVALUE"); second.SetString("SECONDKEY", "SECONDVALUE"); Assert.False(first.Equals(second)); first.SetString("SECONDKEY", "SECONDVALUE"); second.SetString("FIRSTKEY", "FIRSTVALUE"); Assert.True(first.Equals(second)); QuickFix.Dictionary third = new QuickFix.Dictionary("Name1"); QuickFix.Dictionary fourth = new QuickFix.Dictionary("Name2"); Assert.False(third.Equals(fourth)); }