Exemplo n.º 1
0
        public void TestMissingElementsXor(int[] data, int expected)
        {
            PermMissingElement element = new PermMissingElement();
            var result = element.solutionXor(data, data.Length);

            Assert.AreEqual(expected, result);
        }
Exemplo n.º 2
0
 public void Setup()
 {
     _binaryGap          = new BinaryGap();
     _arrayRotation      = new ArrayRotation();
     _unpairedElements   = new UnpairedElements();
     _frogJump           = new FrogJump();
     _permMissingElement = new PermMissingElement();
     _tapeEquilibrium    = new TapeEquilibrium();
     _frogRiverOne       = new FrogRiverOne();
     _maxCounters        = new MaxCounters();
     _missingInteger     = new MissingInteger();
 }