mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 16:44:25 +02:00
Added tests for format 21h
git-svn-id: https://smali.googlecode.com/svn/trunk@110 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
8eb97cdedc
commit
e80e6a7eb7
@ -0,0 +1,33 @@
|
||||
.class public LFormat21h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Format21h.smali"
|
||||
|
||||
.method public constructor <init>()V
|
||||
.registers 1
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public test_const-high16()V
|
||||
.registers 2
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const/high16 v0, 0x3000
|
||||
|
||||
const v1, 0x30000000
|
||||
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public test_const-wide-high16()V
|
||||
.registers 4
|
||||
.annotation runtime Lorg/junit/Test;
|
||||
.end annotation
|
||||
|
||||
const-wide/high16 v0, 0x3000
|
||||
|
||||
const-wide v2, 0x3000000000000000L
|
||||
invoke-static {v0, v1, v2, v3}, Lorg/junit/Assert;->assertEquals(JJ)V
|
||||
return-void
|
||||
.end method
|
@ -28,6 +28,7 @@
|
||||
LFormat11x;,
|
||||
LFormat12x;,
|
||||
LFormat20t;,
|
||||
LFormat21h;,
|
||||
LFormat21s;,
|
||||
LFormat21t;,
|
||||
LFormat22x;,
|
||||
|
Loading…
x
Reference in New Issue
Block a user