From ceff03c40439bc1f8807c0e738168383342cf7f9 Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Mon, 16 Oct 2023 13:43:54 +0200 Subject: [PATCH] Try to test against a jl file --- test/fake.jl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/fake.jl diff --git a/test/fake.jl b/test/fake.jl new file mode 100644 index 0000000..a7184c8 --- /dev/null +++ b/test/fake.jl @@ -0,0 +1,15 @@ +module FakeModel + +import BasicModelInterface as BMI + +Base.@kwdef mutable struct Model + time::Float64 = 0.0 +end + +BMI.initialize(::Type{Model}) = Model() + +BMI.get_grid_x(m::Model, grid, x) + copyto!(x, [0.0, 1.0]) +end + +end