Skip to content

Commit

Permalink
Try to test against a jl file
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 16, 2023
1 parent 340067e commit ceff03c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/fake.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ceff03c

Please sign in to comment.