instruction_map_test.cc | 68 static const VCDiffInstructionMap* default_map; member in class:open_vcdiff::__anon4267::InstructionMapTest 77 const VCDiffInstructionMap* InstructionMapTest::default_map = NULL; member in class:open_vcdiff::__anon4267::InstructionMapTest 113 default_map = VCDiffInstructionMap::GetDefaultInstructionMap(); 182 EXPECT_EQ(kNoOpcode, default_map->LookupFirstOpcode(VCD_NOOP, 0, 0)); 183 EXPECT_EQ(kNoOpcode, default_map->LookupFirstOpcode(VCD_NOOP, 0, 255)); 184 EXPECT_EQ(kNoOpcode, default_map->LookupFirstOpcode(VCD_NOOP, 255, 0)); 185 EXPECT_EQ(kNoOpcode, default_map->LookupFirstOpcode(VCD_NOOP, 255, 255)); 189 EXPECT_EQ(2, default_map->LookupFirstOpcode(VCD_ADD, 1, 0)); 190 EXPECT_EQ(3, default_map->LookupFirstOpcode(VCD_ADD, 2, 0)); 191 EXPECT_EQ(4, default_map->LookupFirstOpcode(VCD_ADD, 3, 0)) [all...] |