Skip to content

Commit

Permalink
Removed nested cast test case, as that's addressed in #122 now
Browse files Browse the repository at this point in the history
  • Loading branch information
d0c-s4vage committed Jan 20, 2020
1 parent a2c4b33 commit c73cc52
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/test_cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ def test_cast_from_dex(self):
stdout="10,896",
)

def test_nested_casts(self):
dom = self._test_parse_build(
"",
"""
local ubyte a_byte = 0x99;
local ushort a_short = 0x88ff;
local uint a_int = 0x1234ffff;
local int final = (uint)(a_int + a_short + (ushort)(a_byte << 4));
Printf("%u", final);
""",
stdout="305498510", # taken directly from 010 editor
)


if __name__ == "__main__":
unittest.main()

0 comments on commit c73cc52

Please sign in to comment.