Esempio n. 1
0
        public void EqualsReturnsFalseOnNull()
        {
            VolumePerLength cubicmeterpermeter = VolumePerLength.FromCubicMetersPerMeter(1);

            Assert.False(cubicmeterpermeter.Equals(null));
        }
Esempio n. 2
0
        public void EqualsReturnsFalseOnTypeMismatch()
        {
            VolumePerLength cubicmeterpermeter = VolumePerLength.FromCubicMetersPerMeter(1);

            Assert.False(cubicmeterpermeter.Equals(new object()));
        }