mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
im bored.
This commit is contained in:
@@ -21,9 +21,9 @@ class DataDecompTest : public ::testing::Test {
|
||||
static void TearDownTestCase() { dts.reset(); }
|
||||
|
||||
void check_forms_equal(const std::string& actual, const std::string& expected) {
|
||||
auto expected_form =
|
||||
auto& expected_form =
|
||||
pretty_print::get_pretty_printer_reader().read_from_string(expected, false).as_pair()->car;
|
||||
auto actual_form =
|
||||
auto& actual_form =
|
||||
pretty_print::get_pretty_printer_reader().read_from_string(actual, false).as_pair()->car;
|
||||
if (expected_form != actual_form) {
|
||||
printf("Got:\n%s\n\nExpected\n%s\n", pretty_print::to_string(actual_form).c_str(),
|
||||
@@ -405,4 +405,4 @@ TEST_F(DataDecompTest, ReverseArtExt) {
|
||||
input.offset = 108;
|
||||
result = dts->ts.reverse_field_multi_lookup(input);
|
||||
EXPECT_EQ(result.results.at(0).tokens.at(2).print(), "type");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user