remove utils.c, prepare testing 'R-only'
[valse.git] / src / test / generate_test_data / R_test_helpers / checkOutput.R
diff --git a/src/test/generate_test_data/R_test_helpers/checkOutput.R b/src/test/generate_test_data/R_test_helpers/checkOutput.R
deleted file mode 100644 (file)
index 1faddaa..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-checkOutput = function(varName, matrix, refMatrix, tol){
-  print('Checking %s\n',varName);
-  maxError = max(max(max(max(abs(matrix - refMatrix)))));
-  if(maxError >= tol){
-    print('Inaccuracy: max(abs(error)) = %g >= %g\n',maxError,tol)
-  }
-  else{
-    print('OK\n')
-  }
-}
\ No newline at end of file