Beispiel #1
0
        public void EqualsReturnsFalseOnNull()
        {
            TemperatureCoefficient percentagebykelvin = TemperatureCoefficient.FromPercentageByKelvins(1);

            Assert.False(percentagebykelvin.Equals(null));
        }
Beispiel #2
0
        public void EqualsReturnsFalseOnTypeMismatch()
        {
            TemperatureCoefficient percentagebykelvin = TemperatureCoefficient.FromPercentageByKelvins(1);

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