Ejemplo n.º 1
0
        void LastIndexOf3_works(Instruction[] data, Instruction instr, int index, int count, int expected)
        {
            var list   = new InstructionList(data);
            var result = list.LastIndexOf(instr, index, count);

            Assert.Equal(expected, result);
        }