changeset 5:1245abe6625f

add TEST Class
author e095732
date Mon, 28 Jan 2013 00:25:01 +0900
parents 50d77513d52e
children ae0a39622a58
files src/aquarium/test/local/StartCodeSegment.java src/aquarium/test/local/TestLocalFish.java
diffstat 2 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/aquarium/test/local/StartCodeSegment.java	Mon Jan 28 00:25:01 2013 +0900
@@ -0,0 +1,17 @@
+package aquarium.test.local;
+
+import alice.codesegment.CodeSegment;
+import alice.test.topology.aquarium.fx.Aquarium;
+
+
+public class StartCodeSegment extends CodeSegment {
+
+	@Override
+	public void run() {
+		ods.put("local", "objCnt", 4);
+		Aquarium aqua = new Aquarium();
+		aqua.run();
+ 	}
+
+	
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/aquarium/test/local/TestLocalFish.java	Mon Jan 28 00:25:01 2013 +0900
@@ -0,0 +1,8 @@
+package aquarium.test.local;
+
+public class TestLocalFish {
+	public static void main(String args[]) {
+		new StartCodeSegment().execute();
+	}
+	
+}