コード例 #1
0
        public void EqualsReturnsFalseOnNull()
        {
            CatalyticActivity katal = CatalyticActivity.FromKatals(1);

            Assert.False(katal.Equals(null));
        }
コード例 #2
0
        public void EqualsReturnsFalseOnTypeMismatch()
        {
            CatalyticActivity katal = CatalyticActivity.FromKatals(1);

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