void CompareBitArray(bool[] source, bool[] compareTo,Register r,bool load) { var output = r.Cycle(source, load); for (int i = 0; i < output.Length; i++) { Assert.AreEqual(output[i], compareTo[i]); } }