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

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

            Assert.AreEqual(expected, actual);
        }