-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for #850: transpose-slice-multiply crash
- Loading branch information
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,10 @@ import org.scalatest.funsuite.AnyFunSuite | |
* Created by Luca Puggini: [email protected] on 19/02/16. | ||
*/ | ||
class TextOperationsTest extends AnyFunSuite { | ||
System.err.println(new File(".").getAbsolutePath) | ||
test("csvread and String2File methods") { | ||
// A csv file can be read both using the java File function and the toFile method of the string class | ||
val file_path = if (new File(".").getAbsolutePath.endsWith("math/.")) { | ||
val file_path = if (new File(".").getAbsolutePath.replace('\\', '/').endsWith("math/.")) { | ||
"src/test/resources/glass_data.txt" | ||
} else { | ||
"./math/src/test/resources/glass_data.txt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters