Skip to content

Commit

Permalink
start on first test
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwarz committed Dec 16, 2018
1 parent 8c60dff commit e9282e0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/direct_library_calls.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Test raw wrapper with direct library calls

@testset "create small problem and solve" begin
scip__ = Ptr{SCIP.SCIP_}[C_NULL] # SCIP**
rc = SCIP.SCIPcreate(scip__)
@test rc == SCIP.SCIP_OKAY

scip_ = scip__[1] # SCIP*
@test rc != C_NULL

# TODO...
end
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
using Test
using SCIP

include("direct_library_calls.jl")

0 comments on commit e9282e0

Please sign in to comment.