Esempio n. 1
0
        public void GetHashCodeTest()
        {
            var timeOfDay = TimeSpan.FromHours(4);

            var hash = timeOfDay.GetHashCode();

            var instance = new OneTimePerDayDailyFrequency { TimeOfDay = timeOfDay };

            var res = instance.GetHashCode();

            Assert.AreEqual(hash, res);
        }