Пример #1
0
        public void Equlity()
        {
            var x = new Quarterly(2000, Quarter.Q1);
            var y = new Quarterly(2000, Quarter.Q2);

            ValueTestUtility.TestEquality(x, x);
            ValueTestUtility.TestUnequlity(x, y);
            ValueTestUtility.TestComarisonWithNull(x);
        }
Пример #2
0
        public void Equlity()
        {
            var x = new Triannual(2000, Triannum.T1);
            var y = new Triannual(2001, Triannum.T2);

            ValueTestUtility.TestEquality(x, x);
            ValueTestUtility.TestUnequlity(x, y);
            ValueTestUtility.TestComarisonWithNull(x);
        }
Пример #3
0
        public void Equlity()
        {
            var x = new Weekly(2000, Week.W1);
            var y = new Weekly(2001, Week.W32);

            ValueTestUtility.TestEquality(x, x);
            ValueTestUtility.TestUnequlity(x, y);
            ValueTestUtility.TestComarisonWithNull(x);
        }