Changeset 3664 for trunk/ProjectFortress/tests
- Timestamp:
- 04/23/09 13:31:06 (7 months ago)
- Location:
- trunk/ProjectFortress/tests
- Files:
-
- 2 modified
-
LongStringTests.fss (modified) (3 diffs)
-
WordCountSmall.fss (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/tests/LongStringTests.fss
r3546 r3664 21 21 import Timing.{...} 22 22 import List.{...} 23 import System.{get Environment}23 import System.{getProperty} 24 24 25 25 export Testable … … 57 57 "unbalanced" 58 58 end ) 59 output = FileWriteStream(get Environment("fortress.autohome", ".") "/ProjectFortress/tests/poem.out")59 output = FileWriteStream(getProperty("fortress.autohome", ".") "/ProjectFortress/tests/poem.out") 60 60 output.write(balancedContents) 61 61 output.close() … … 64 64 65 65 readFile(n: ZZ32): () = do 66 input = FileReadStream(get Environment("fortress.autohome", ".") "/ProjectFortress/tests/poem.txt")66 input = FileReadStream(getProperty("fortress.autohome", ".") "/ProjectFortress/tests/poem.txt") 67 67 maxLeafSize := n 68 68 fileContents := BIG || [ c ← seq(input.chunks(n)) ] c -
trunk/ProjectFortress/tests/WordCountSmall.fss
r3546 r3664 21 21 import List.{...} 22 22 import Map.{...} 23 import System.{get Environment}23 import System.{getProperty} 24 24 25 25 export Executable … … 120 120 121 121 run()= do 122 processFile(get Environment("fortress.autohome", ".") "/ProjectFortress/tests/presidents")122 processFile(getProperty("fortress.autohome", ".") "/ProjectFortress/tests/presidents") 123 123 end 124 124 end

