Esempio n. 1
0
        public void MinuteEqualsReturnsFalseIfOtherIsDifferentValue()
        {
            c.Minute minute = new c.Minute(47);
            c.Minute other  = new c.Minute(45);

            Assert.IsFalse(minute.Equals(other));
        }
Esempio n. 2
0
        public void MinuteEqualsReturnsFalseIfOtherIsNotTypeOfMinute()
        {
            c.Minute minute = new c.Minute(47);
            Task     other  = new Task(() => { });

            Assert.IsFalse(minute.Equals(other));
        }
Esempio n. 3
0
        public void MinuteEqualsReturnsTrueIfOtherIsSameValue()
        {
            c.Minute minute = new c.Minute(47);
            c.Minute other  = new c.Minute(47);

            Assert.IsTrue(minute.Equals(other));
        }
Esempio n. 4
0
        public void MinuteEqualsReturnsFalseIfOtherIsNull()
        {
            c.Minute minute = new c.Minute(47);
            c.Minute other  = null;

            Assert.IsFalse(minute.Equals(other));
        }