public void BitPositionsTest() { var input = new[] {Tuple.Create(86, 2, 3), Tuple.Create(125, 1, 2)}; var expected = new[] {"true", "false"}; var prog = new BitPositions(input); var result = prog.Run().ToList(); for (int i = 0; i < expected.Length; i++) { Assert.AreEqual(expected[i], result[i]); } }
public void BitPositionsTest() { var input = new[] { Tuple.Create(86, 2, 3), Tuple.Create(125, 1, 2) }; var expected = new[] { "true", "false" }; var prog = new BitPositions(input); var result = prog.Run().ToList(); for (int i = 0; i < expected.Length; i++) { Assert.AreEqual(expected[i], result[i]); } }