Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

Commit

Permalink
swixTests(run_io_tests:Bool=true)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsievert committed Jul 24, 2015
1 parent 2febe68 commit 2907237
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "swix/swix/tests/tests.swift"
timestampString = "459447618.474421"
timestampString = "459449405.552788"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "277"
endingLineNumber = "277"
startingLineNumber = "279"
endingLineNumber = "279"
landmarkName = "readWriteTests()"
landmarkType = "5">
</BreakpointContent>
Expand Down
2 changes: 1 addition & 1 deletion swix/swix/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
import Foundation
import Swift

swixTests()
swixTests(run_io_tests: false)
//swixSpeedTests()
8 changes: 5 additions & 3 deletions swix/swix/swix/tests/tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation

class swixTests {
var N:Int
init(){
init(run_io_tests:Bool=true){
print("running many simple tests")
self.N = 10
operatorTests()
Expand All @@ -21,8 +21,10 @@ class swixTests {
print(" simple functions work as expected")
twoDTests()
print(" matrix convience elements work as expected")
readWriteTests()
print(" {read,write}_{binary,csv}, savefig work like Python... at least on OSX")
if run_io_tests {
readWriteTests()
print(" {read,write}_{binary,csv}, savefig work like Python... at least on OSX")
}
complexTests()

numberTests()
Expand Down

0 comments on commit 2907237

Please sign in to comment.