private static void Equals(UnityVersion l, UnityVersion r, bool equals) { if (!ReferenceEquals(l, null)) { Assert.AreEqual(l.Equals(r), equals); } if (!ReferenceEquals(r, null)) { Assert.AreEqual(r.Equals(l), equals); } }