Test cases
authorbdemsky <bdemsky>
Mon, 10 Apr 2006 23:12:31 +0000 (23:12 +0000)
committerbdemsky <bdemsky>
Mon, 10 Apr 2006 23:12:31 +0000 (23:12 +0000)
Robust/src/Tests/Array.java [new file with mode: 0644]
Robust/src/Tests/StringTest.java [new file with mode: 0644]

diff --git a/Robust/src/Tests/Array.java b/Robust/src/Tests/Array.java
new file mode 100644 (file)
index 0000000..6fb7947
--- /dev/null
@@ -0,0 +1,10 @@
+public class Array {
+    int a;
+    public static void main() {
+       int a[]=new int[10];
+       int i=2;
+       a[i]=4;
+       System.printInt(a[2]);
+       System.printInt(a.length);
+    }
+}
diff --git a/Robust/src/Tests/StringTest.java b/Robust/src/Tests/StringTest.java
new file mode 100644 (file)
index 0000000..7114f4a
--- /dev/null
@@ -0,0 +1,6 @@
+class StringTest {
+    public static void main() {
+       String a="hello world\n";
+       System.printString(a);
+    }
+}