Implemented property based testing via PyCall.jl and hypothesis.py

This commit is contained in:
2024-02-15 11:41:35 +00:00
parent 88048baf31
commit 43a3d7a098
11 changed files with 359 additions and 84 deletions
+2 -2
View File
@@ -67,10 +67,10 @@ if abspath(PROGRAM_FILE) == @__FILE__
current_package_version = Pkg.TOML.parsefile("$ROOT_DIR/Project.toml")["version"]
function display_to_file(io, x)
show(IOContext(io, :limit => false), "text/plain", x)
show(IOContext(io, :limit => false, :color => true), "text/plain", x)
end
open("$ROOT_DIR/benchmarks/$current_package_version.txt", "w") do io
open("$ROOT_DIR/benchmarks/$current_package_version.ansi", "w") do io
println(io, "C Implementation")
display_to_file(io, result[1])
println(io, "\n\nFortran Implementation")