using Test
using Mongoc

include("../../src/CholeskyExperiment.jl")
using ..CholeskyExperiment:ExperimentManager,
                           gendecomposition,
                           gendecomposition_all,
                           gendecomposition_all_json,
                           gendecomposition_mult_json,
                           gendecomposition_all_jsons,
                           genoriginal,
                           genoriginal_all,
                           DecompositionDB.isdecomposition,
                           DecompositionDB.getdecomposition,
                           load_instance_by_paths
include("init_manager.jl")

testdirectory = dirname(@__FILE__)
cd(testdirectory)
files = readdir()
for file in files
    if split(file, ".")[end] == "jl" && file != "runtest.jl" && file != "test_generate.jl"
        include(joinpath(testdirectory, file))
    end
end
