Example #1
0
        public void Test004()
        {
            var d1 = DateTimeNormalizationEvaluator.NormalizeDateTime(DateTime.Now);
            var d2 = new DateTime(d1.Ticks - 1);

            _introspective.ExpectAssertionSuccessNext();
            _assert.AreNotEqual(() => d1, () => d2);
        }
Example #2
0
        public void Test002()
        {
            var d1 = DateTimeNormalizationEvaluator.NormalizeDateTime(DateTime.Now);
            var d2 = new DateTime(d1.Ticks + TimeSpan.TicksPerMillisecond - 1);

            _introspective.ExpectAssertionSuccessNext();
            _assert.AreEqual(() => d1, () => d2);
        }