Skip to content

Commit

Permalink
1.1.3 修复 Test unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Sep 7, 2024
1 parent d2b0255 commit f9d63c0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ class AnalyserTestAsm {

@Test
fun testAnalyse() {
// intVal, range, bitField, stringVar, intRangeVal, Companion == 6
assert(analyse.fields.size == 6)
// getRange, setRange, getStringVar, setStringVar, method, method, methodStatic == 7
assert(analyse.methods.size == 7)
// intVal, range, bitField, stringVar, stringArrayVar, intRangeVal, Companion == 7
assert(analyse.fields.size == 7)
// getRange, setRange, getStringVar, setStringVar, getStringArrayVar, setStringArrayVar, method, method, methodArray, methodStatic == 10
assert(analyse.methods.size == 10)
assert(analyse.constructors.size == 2)
}

Expand Down

0 comments on commit f9d63c0

Please sign in to comment.