Rehost company prime rate reader
This commit is contained in:
parent
29df4e0080
commit
5372a11118
6 changed files with 383 additions and 70 deletions
|
|
@ -15820,27 +15820,45 @@ mod tests {
|
|||
probe.dword_candidates.len(),
|
||||
RT3_SAVE_WORLD_BLOCK_FINANCE_NEIGHBORHOOD_WINDOW_LEN_DWORDS
|
||||
);
|
||||
assert_eq!(probe.current_calendar_tuple_word_lane.relative_offset_hex, "0xd");
|
||||
assert_eq!(
|
||||
probe.current_calendar_tuple_word_lane.relative_offset_hex,
|
||||
"0xd"
|
||||
);
|
||||
assert_eq!(probe.packed_year_word_raw_u16, 1);
|
||||
assert_eq!(probe.packed_year_word_raw_hex, "0x0001");
|
||||
assert_eq!(probe.partial_year_progress_raw_u8, 0);
|
||||
assert_eq!(probe.partial_year_progress_raw_hex, "0x00");
|
||||
assert_eq!(probe.current_calendar_tuple_word_lane.value_i32, 1);
|
||||
assert_eq!(probe.current_calendar_tuple_word_2_lane.relative_offset_hex, "0x11");
|
||||
assert_eq!(
|
||||
probe.current_calendar_tuple_word_2_lane.relative_offset_hex,
|
||||
"0x11"
|
||||
);
|
||||
assert_eq!(probe.current_calendar_tuple_word_2_lane.value_i32, 2);
|
||||
assert_eq!(probe.absolute_counter_lane.relative_offset_hex, "0x15");
|
||||
assert_eq!(probe.absolute_counter_lane.value_i32, 3);
|
||||
assert_eq!(probe.absolute_counter_mirror_lane.relative_offset_hex, "0x19");
|
||||
assert_eq!(
|
||||
probe.absolute_counter_mirror_lane.relative_offset_hex,
|
||||
"0x19"
|
||||
);
|
||||
assert_eq!(probe.absolute_counter_mirror_lane.value_i32, 4);
|
||||
assert_eq!(probe.dword_candidates[0].label, "current_calendar_tuple_word");
|
||||
assert_eq!(
|
||||
probe.dword_candidates[0].label,
|
||||
"current_calendar_tuple_word"
|
||||
);
|
||||
assert_eq!(probe.dword_candidates[0].relative_offset_hex, "0xd");
|
||||
assert_eq!(probe.dword_candidates[0].value_i32, 1);
|
||||
assert_eq!(probe.dword_candidates[6].label, "issue_0x37_multiplier");
|
||||
assert_eq!(probe.dword_candidates[6].relative_offset_hex, "0x25");
|
||||
assert_eq!(probe.dword_candidates[10].label, "issue_neighbor_candidate_2");
|
||||
assert_eq!(
|
||||
probe.dword_candidates[10].label,
|
||||
"issue_neighbor_candidate_2"
|
||||
);
|
||||
assert_eq!(probe.dword_candidates[10].relative_offset_hex, "0x35");
|
||||
assert_eq!(probe.dword_candidates[10].value_i32, 11);
|
||||
assert_eq!(probe.dword_candidates[11].label, "finance_neighborhood_word_12");
|
||||
assert_eq!(
|
||||
probe.dword_candidates[11].label,
|
||||
"finance_neighborhood_word_12"
|
||||
);
|
||||
assert_eq!(probe.dword_candidates[11].relative_offset_hex, "0x39");
|
||||
assert_eq!(probe.dword_candidates[11].value_i32, 12);
|
||||
assert_eq!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue