コード例 #1
0
        public void Clone()
        {
            UploadToken first  = new UploadToken();
            UploadToken second = first.Clone();

            Assert.AreEqual(first, second);
        }
コード例 #2
0
        public void CompareToOperatorWithEqualObjects()
        {
            var    first  = new UploadToken();
            object second = first.Clone();

            Assert.AreEqual(0, first.CompareTo(second));
        }
コード例 #3
0
        public void SmallerThanOperatorWithEqualObjects()
        {
            var first  = new UploadToken();
            var second = first.Clone();

            Assert.IsFalse(first < second);
        }