module lang::flybytes::tests::DecompileTests
rascal-0.40.17
flybytes-0.2.8
Usage
import lang::flybytes::tests::DecompileTests;
Source code
http://github.com/usethesource/flybytes/blob/main/src/lang/flybytes/tests/DecompileTests.rsc
Dependencies
import lang::flybytes::Decompiler;
Tests
test fullyDecompileRoundtripClass
test bool fullyDecompileRoundtripClass()
= /asm(_) !:= decompile(|target://flybytes/lang/flybytes/tests/examples/RoundtripTestClass.class|);
test fullyDecompileBankClass
test bool fullyDecompileBankClass()
= /asm(_) !:= decompile(|target://flybytes/lang/flybytes/tests/examples/business/Bank.class|);
test fullyDecompileAccountClass
test bool fullyDecompileAccountClass()
= /asm(_) !:= decompile(|target://flybytes/lang/flybytes/tests/examples/business/Account.class|);