summaryrefslogtreecommitdiff
path: root/typecheck/tests
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-09 23:48:26 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-09 23:48:26 -0600
commit61a28b7f8e709d1884ccab15f0dc38ed19dfde70 (patch)
tree4a08bf487d7a18cc8cd328876067e57d261920f6 /typecheck/tests
parentc1e124b957fa840f7bd8da9ffc6871140cfabf16 (diff)
Partial arguments in Vaporize.MessageSend, Typecheck for milestone
Diffstat (limited to 'typecheck/tests')
-rw-r--r--typecheck/tests/IsPositive.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/typecheck/tests/IsPositive.java b/typecheck/tests/IsPositive.java
index 6adc30f..087cd3f 100644
--- a/typecheck/tests/IsPositive.java
+++ b/typecheck/tests/IsPositive.java
@@ -1,13 +1,13 @@
class IsPositive{
public static void main(String[] a){
- System.out.println(new Positive().isPositive(10));
+ System.out.println(new Positive().isPos(10));
}
}
class Positive {
- public bool IsPositive(int num){
+ public bool isPos(int num){
bool positive ;
-
+
if (0 < num)
positive = true ;
else