public void EqualsObjectIsImplementedCorrectly()
        {
            Assert.True(siBaseUnits.Equals((object)siBaseUnitsCopy));
            Assert.False(siBaseUnits.Equals((object)nonSiBaseUnits));

            Assert.False(siBaseUnits.Equals("Some object."));
            Assert.False(siBaseUnits.Equals((IFormatProvider)null));
        }
        public void EqualsBaseUnitsIsImplementedCorrectly()
        {
            Assert.True(siBaseUnits.Equals(siBaseUnitsCopy));
            Assert.True(siBaseUnitsCopy.Equals(siBaseUnits));

            Assert.False(siBaseUnits.Equals(nonSiBaseUnits));
            Assert.False(nonSiBaseUnits.Equals(siBaseUnits));

            Assert.False(siBaseUnits.Equals(null));
        }
 /// <inheritdoc />
 public bool Equals(UnitSystem other)
 {
     return(!(other is null) && BaseUnits.Equals(other.BaseUnits));
 }