mirror of
https://github.com/revanced/smali.git
synced 2025-05-28 11:50:12 +02:00
updated the tests for format 22s to use larger literals, that don't fit in 8 bits
git-svn-id: https://smali.googlecode.com/svn/trunk@120 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
e2678725b9
commit
8905a53868
@ -15,9 +15,9 @@
|
||||
|
||||
const v0, 5
|
||||
|
||||
add-int/lit16 v1, v0, 23
|
||||
add-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 28
|
||||
const v0, 505
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -29,9 +29,9 @@
|
||||
|
||||
const v0, 23
|
||||
|
||||
rsub-int v1, v0, 5
|
||||
rsub-int v1, v0, 500
|
||||
|
||||
const v0, -18
|
||||
const v0, 477
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -41,11 +41,11 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 5
|
||||
const v0, 23
|
||||
|
||||
mul-int/lit16 v1, v0, 23
|
||||
mul-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 115
|
||||
const v0, 11500
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -55,11 +55,11 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 11503
|
||||
|
||||
div-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 23
|
||||
|
||||
div-int/lit16 v1, v0, 5
|
||||
|
||||
const v0, 4
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -69,9 +69,9 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 23
|
||||
const v0, 11503
|
||||
|
||||
rem-int/lit16 v1, v0, 5
|
||||
rem-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 3
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
@ -83,11 +83,11 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 5
|
||||
const v0, 23
|
||||
|
||||
and-int/lit16 v1, v0, 23
|
||||
and-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 5
|
||||
const v0, 20
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -97,11 +97,11 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 5
|
||||
|
||||
or-int/lit16 v1, v0, 23
|
||||
|
||||
const v0, 23
|
||||
|
||||
or-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 503
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
@ -111,11 +111,11 @@
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const v0, 5
|
||||
const v0, 23
|
||||
|
||||
xor-int/lit16 v1, v0, 23
|
||||
xor-int/lit16 v1, v0, 500
|
||||
|
||||
const v0, 18
|
||||
const v0, 483
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
Loading…
x
Reference in New Issue
Block a user