about summary refs log tree commit diff
path: root/tests/data
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi <fredmanglis@gmail.com>2022-08-06 07:48:35 +0300
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2022-08-06 07:48:35 +0300
commit3492daa8ee40ca7dc1e90f232f458fdc5748b72d (patch)
tree7dbbdf9752e13b93be63b5d813b45940dd270795 /tests/data
parent809a26505b5ceaf488151ba859f1a986d757b582 (diff)
downloadcorrelation_rust-3492daa8ee40ca7dc1e90f232f458fdc5748b72d.tar.gz
Fix tests
- Eliminate hard-coded absolute paths from the tests and replace them
  with relative paths
- Update tests where data formats have changed
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/sample_json_file.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/sample_json_file.json b/tests/data/sample_json_file.json
index 85f9b9d..4c941e3 100644
--- a/tests/data/sample_json_file.json
+++ b/tests/data/sample_json_file.json
@@ -1,10 +1,10 @@
 {
-    "file_path":"/home/kabui/correlation_rust/tests/data/db300.txt",
+    "file_path":"tests/data/db300.txt",
     "x_vals": [
 	25.08439, 72.02225, 47.56293, 22.87893, 14.28721, 71.84655, 87.81991, 84.86824,
 	6.72478, 5.72373, 73.47078, 63.74703],
     "sample_values":"bxd1",
     "method":"pearson",
     "file_delimiter":",",
-    "output_file":"/home/kabui/correlation_rust/output.txt"
- }
\ No newline at end of file
+    "output_file":"output.txt"
+ }