示例#1
0
        public void TestFindUniqueDeliverIdUsingXORIsValid()
        {
            var expected = 3;
            var actual   = FindUniqueIntAmongDupes.FindUniqueDeliveryId(_deliveries);

            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void TestFindUniqueIntAmongDuplicatesUsingLINQIsValid()
        {
            var expected = 3;
            var actual   = FindUniqueIntAmongDupes.FindUniqueIntAmongDuplicatesWithLINQ(_deliveries);

            Assert.AreEqual(expected, actual);
        }