[Swift-commit] r6603 - branches/release-0.94/tests/language-behaviour/IO

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Wed Jul 3 16:44:35 CDT 2013


Author: yadunandb
Date: 2013-07-03 16:44:35 -0500 (Wed, 03 Jul 2013)
New Revision: 6603

Added:
   branches/release-0.94/tests/language-behaviour/IO/readStructured03.swift
   branches/release-0.94/tests/language-behaviour/IO/readStructured3.in
Log:
Adding test


Added: branches/release-0.94/tests/language-behaviour/IO/readStructured03.swift
===================================================================
--- branches/release-0.94/tests/language-behaviour/IO/readStructured03.swift	                        (rev 0)
+++ branches/release-0.94/tests/language-behaviour/IO/readStructured03.swift	2013-07-03 21:44:35 UTC (rev 6603)
@@ -0,0 +1,9 @@
+type vector {
+    int columns[];
+}
+type matrix {
+    vector rows[];
+}
+
+matrix m;
+m = readStructured("readStructured3.in");

Added: branches/release-0.94/tests/language-behaviour/IO/readStructured3.in
===================================================================
--- branches/release-0.94/tests/language-behaviour/IO/readStructured3.in	                        (rev 0)
+++ branches/release-0.94/tests/language-behaviour/IO/readStructured3.in	2013-07-03 21:44:35 UTC (rev 6603)
@@ -0,0 +1,6 @@
+rows[0].columns[0] = 0
+rows[0].columns[1] = 2
+rows[0].columns[2] = 4
+rows[1].columns[0] = 1
+rows[1].columns[1] = 3
+rows[1].columns[2] = 5
\ No newline at end of file




More information about the Swift-commit mailing list