public void TestMissingElementsXor(int[] data, int expected) { PermMissingElement element = new PermMissingElement(); var result = element.solutionXor(data, data.Length); Assert.AreEqual(expected, result); }
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(); }