private static bool bitFlipTest3() { int[] input = { 0 }; int output = Problems.BitFlip(input, 0); return(output == 0); }
private static bool bitFlipTest1() { int[] input = { 0, 1, 1, 1, 0, 1, 0, 1, 0, 0 }; int output = Problems.BitFlip(input, 2); return(output == 7); }