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