Exemplo n.º 1
0
        public void EqualsTest(object obj2, bool expected)
        {
            var obj1 = new ApiLimit(150, 100, new DateTimeUtc(2013, 1, 1, 0, 0, 0));

            Assert.Equal(expected, obj1.Equals(obj2));
        }
Exemplo n.º 2
0
        public void EqualsTest(object obj2, bool expect)
        {
            var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0));

            Assert.That(obj1.Equals(obj2), Is.EqualTo(expect));
        }
Exemplo n.º 3
0
        public void EqualsTest(object obj2, bool expect)
        {
            var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0));

            Assert.That(obj1.Equals(obj2), Is.EqualTo(expect));
        }
Exemplo n.º 4
0
        public void EqualsTest(object obj2, bool expected)
        {
            var obj1 = new ApiLimit(150, 100, new DateTime(2013, 1, 1, 0, 0, 0));

            Assert.Equal(expected, obj1.Equals(obj2));
        }