public void StructIntFieldsAffectEquality() { var customStruct1 = new CustomStruct { Bla = 1 }; var customStruct2 = new CustomStruct { Bla = 2 }; PAssert.That(() => !FieldwiseEquality.AreEqual(customStruct1, customStruct2)); PAssert.That(() => FieldwiseEquality.AreEqual(new CustomStruct { Bla = 3 }, new CustomStruct { Bla = 3 })); }