-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4422a3
commit bc81794
Showing
6 changed files
with
109 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.usvm.samples | ||
|
||
import org.junit.jupiter.api.Disabled | ||
import org.usvm.TSObject | ||
import org.usvm.util.MethodDescriptor | ||
import org.usvm.util.TSMethodTestRunner | ||
import kotlin.test.Test | ||
|
||
class Arguments : TSMethodTestRunner() { | ||
@Test | ||
@Disabled | ||
fun testMinValue() { | ||
discoverProperties<TSObject.TSNumber>( | ||
methodIdentifier = MethodDescriptor( | ||
fileName = "Arguments.ts", | ||
className = "SimpleClass", | ||
methodName = "noArguments", | ||
argumentsNumber = 0 | ||
) | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class SimpleClass { | ||
noArguments(): Number { | ||
return 42 | ||
} | ||
|
||
singleArgument(a) { | ||
return a | ||
} | ||
|
||
thisArgument(): SimpleClass { | ||
return this | ||
} | ||
} |