コード例 #1
0
        public void AtomicInt64ToStringReturnsExpectedStringForSpecified()
        {
            const long expected = 47;

            var i = new AtomicInt64(expected);

            Assert.AreEqual(expected.ToString(), i.ToString());
        }
コード例 #2
0
        public void AtomicInt64ToStringReturnsExpectedStringForDefault()
        {
            const long expected = 0;

            var i = new AtomicInt64();

            Assert.AreEqual(expected.ToString(), i.ToString());
        }