VCDiffInstructionMap { public short LookupSecondOpcode(byte first_opcode, byte inst, byte size, byte mode) { return second_instruction_map_.Lookup(first_opcode, inst, size, mode); } VCDiffInstructionMap(VCDiffCodeTableData code_table_data, byte max_mode); short LookupFirstOpcode(byte inst, byte size, byte mode); short LookupSecondOpcode(byte first_opcode, byte inst, byte size, byte mode); static final VCDiffInstructionMap DEFAULT_INSTRUCTION_MAP; }
@Test public void DefaultMapLookupSecondNoop() { assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_NOOP, (byte) 0, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_NOOP, (byte) 0, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_NOOP, (byte) 255, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_NOOP, (byte) 255, (byte) 255)); }
@Test public void DefaultMapLookupSecondAdd() { Assert.assertEquals(247, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(248, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 36, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(249, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 52, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(250, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 68, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(251, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 84, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(252, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 100, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(253, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 116, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(254, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 132, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(255, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 148, VCD_ADD, (byte) 1, (byte) 0)); Assert.assertEquals(247, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 1, (byte) 2)); Assert.assertEquals(247, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 1, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 0, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 0, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_ADD, (byte) 255, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 0, VCD_ADD, (byte) 1, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 1, VCD_ADD, (byte) 1, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 247, VCD_ADD, (byte) 1, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 255, VCD_ADD, (byte) 1, (byte) 0)); }
@Test public void DefaultMapLookupSecondRun() { assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 0, VCD_RUN, (byte) 0, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_RUN, (byte) 0, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_RUN, (byte) 0, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_RUN, (byte) 255, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 20, VCD_RUN, (byte) 255, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 255, VCD_RUN, (byte) 0, (byte) 0)); }
@Test public void DefaultMapLookupSecondCopyMode0() { Assert.assertEquals(163, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 0)); Assert.assertEquals(164, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 0)); Assert.assertEquals(165, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 0)); Assert.assertEquals(166, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 0)); Assert.assertEquals(167, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 0)); Assert.assertEquals(168, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 0)); Assert.assertEquals(169, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 0)); Assert.assertEquals(170, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 0)); Assert.assertEquals(171, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 0)); Assert.assertEquals(172, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 0)); Assert.assertEquals(173, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 0)); Assert.assertEquals(174, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 0)); }
@Test public void DefaultMapLookupSecondCopyMode1() { Assert.assertEquals(175, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 1)); Assert.assertEquals(176, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 1)); Assert.assertEquals(177, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 1)); Assert.assertEquals(178, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 1)); Assert.assertEquals(179, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 1)); Assert.assertEquals(180, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 1)); Assert.assertEquals(181, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 1)); Assert.assertEquals(182, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 1)); Assert.assertEquals(183, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 1)); Assert.assertEquals(184, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 1)); Assert.assertEquals(185, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 1)); Assert.assertEquals(186, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 1)); }
@Test public void DefaultMapLookupSecondCopyMode2() { Assert.assertEquals(187, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 2)); Assert.assertEquals(188, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 2)); Assert.assertEquals(189, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 2)); Assert.assertEquals(190, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 2)); Assert.assertEquals(191, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 2)); Assert.assertEquals(192, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 2)); Assert.assertEquals(193, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 2)); Assert.assertEquals(194, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 2)); Assert.assertEquals(195, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 2)); Assert.assertEquals(196, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 2)); Assert.assertEquals(197, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 2)); Assert.assertEquals(198, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 2)); }
@Test public void DefaultMapLookupSecondCopyMode3() { Assert.assertEquals(199, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 3)); Assert.assertEquals(200, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 3)); Assert.assertEquals(201, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 3)); Assert.assertEquals(202, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 3)); Assert.assertEquals(203, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 3)); Assert.assertEquals(204, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 3)); Assert.assertEquals(205, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 3)); Assert.assertEquals(206, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 3)); Assert.assertEquals(207, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 3)); Assert.assertEquals(208, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 3)); Assert.assertEquals(209, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 3)); Assert.assertEquals(210, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 3)); }
@Test public void DefaultMapLookupSecondCopyMode4() { Assert.assertEquals(211, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 4)); Assert.assertEquals(212, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 4)); Assert.assertEquals(213, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 4)); Assert.assertEquals(214, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 4)); Assert.assertEquals(215, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 4)); Assert.assertEquals(216, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 4)); Assert.assertEquals(217, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 4)); Assert.assertEquals(218, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 4)); Assert.assertEquals(219, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 4)); Assert.assertEquals(220, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 4)); Assert.assertEquals(221, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 4)); Assert.assertEquals(222, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 4)); }
@Test public void DefaultMapLookupSecondCopyMode5() { Assert.assertEquals(223, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 5)); Assert.assertEquals(224, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 5, (byte) 5)); Assert.assertEquals(225, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 6, (byte) 5)); Assert.assertEquals(226, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 5)); Assert.assertEquals(227, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 5, (byte) 5)); Assert.assertEquals(228, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 6, (byte) 5)); Assert.assertEquals(229, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 5)); Assert.assertEquals(230, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 5, (byte) 5)); Assert.assertEquals(231, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 6, (byte) 5)); Assert.assertEquals(232, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 5)); Assert.assertEquals(233, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 5, (byte) 5)); Assert.assertEquals(234, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 6, (byte) 5)); }
@Test public void DefaultMapLookupSecondCopyMode6() { Assert.assertEquals(235, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 6)); Assert.assertEquals(236, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 6)); Assert.assertEquals(237, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 6)); Assert.assertEquals(238, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 6)); Assert.assertEquals(239, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 7)); }
@Test public void DefaultMapLookupSecondCopyMode7() { Assert.assertEquals(240, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 7)); Assert.assertEquals(241, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 7)); Assert.assertEquals(242, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 7)); }
@Test public void DefaultMapLookupSecondCopyMode8() { Assert.assertEquals(243, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 4, (byte) 8)); Assert.assertEquals(244, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 3, VCD_COPY, (byte) 4, (byte) 8)); Assert.assertEquals(245, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 4, VCD_COPY, (byte) 4, (byte) 8)); Assert.assertEquals(246, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 5, VCD_COPY, (byte) 4, (byte) 8)); }
@Test public void DefaultMapLookupSecondCopyInvalid() { assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 0, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 255, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 2, VCD_COPY, (byte) 255, (byte) 255)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 0, VCD_COPY, (byte) 4, (byte) 0)); assertEquals(kNoOpcode, VCDiffInstructionMap.DEFAULT_INSTRUCTION_MAP.LookupSecondOpcode((byte) 255, VCD_COPY, (byte) 4, (byte) 0)); }