Example #1
0
        public void EqualsReturnsFalseOnNull()
        {
            DoseRate graypersecond = DoseRate.FromGrayPerSeconds(1);

            Assert.False(graypersecond.Equals(null));
        }
Example #2
0
        public void EqualsReturnsFalseOnTypeMismatch()
        {
            DoseRate graypersecond = DoseRate.FromGrayPerSeconds(1);

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