mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -04:00
[Decomp] Decompile more files. (#290)
* decompile ocean trans tables * more * exclude tables from decomp progress * format'
This commit is contained in:
@@ -2534,4 +2534,37 @@ TEST_F(FormRegressionTest, ExprAssert) {
|
||||
|
||||
std::string expected = "(begin (if (not arg0) (format (quote #t) \"A ~A\" arg1)) 0)";
|
||||
test_with_expr(func, type, expected, false, "", {{"L17", "A ~A"}});
|
||||
}
|
||||
}
|
||||
//
|
||||
// TEST_F(FormRegressionTest, ExprTerminal2) {
|
||||
// std::string func =
|
||||
// "sll r0, r0, 0\n"
|
||||
// "L29:\n"
|
||||
// " daddiu sp, sp, -16\n"
|
||||
// " sd fp, 8(sp)\n"
|
||||
// " or fp, t9, r0\n"
|
||||
//
|
||||
// //" lwc1 f0, L71(fp)\n"
|
||||
// " mtc1 f0, r0\n"
|
||||
// " mtc1 f1, a0\n"
|
||||
// " mul.s f0, f0, f1\n"
|
||||
// " mtc1 f1, a1\n"
|
||||
// " sub.s f0, f0, f1\n"
|
||||
// " mtc1 f1, a2\n"
|
||||
// " div.s f0, f0, f1\n"
|
||||
// " sqrt.s f0, f0\n"
|
||||
// " mtc1 f1, a1\n"
|
||||
// " mtc1 f2, a2\n"
|
||||
// " mul.s f3, f0, f0\n"
|
||||
// " mul.s f2, f2, f3\n"
|
||||
// " add.s f1, f1, f2\n"
|
||||
// " sub.s f0, f0, f1\n"
|
||||
// " mfc1 v0, f0\n"
|
||||
// " ld fp, 8(sp)\n"
|
||||
// " jr ra\n"
|
||||
// " daddiu sp, sp, 16\n";
|
||||
// std::string type = "(function float float float float float)";
|
||||
//
|
||||
// std::string expected = "(begin (if (not arg0) (format (quote #t) \"A ~A\" arg1)) 0)";
|
||||
// test_with_expr(func, type, expected, false, "", {{"L17", "A ~A"}});
|
||||
//}
|
||||
Reference in New Issue
Block a user