Test Suite
Besides establishing the connection between QUBO solvers and JuMP, this package also provides a test suite to ensure that the interface is implemented correctly.
QUBODrivers.test is the public entry point. Its methods are provided by the QUBODrivers_Test_Ext package extension, which Julia loads automatically when both QUBODrivers and Test are present in the active environment. This keeps Test out of QUBODrivers' hard dependencies while still exposing a stable testing API.
The extension module names themselves, such as QUBODrivers_Test_Ext and MOI_PythonCall_Ext, are internal implementation details. Users should call the public APIs they enable, like QUBODrivers.test, instead of importing those extension modules directly.
QUBODrivers.test — Function
test(optimizer::Type{S}; examples::Bool=true) where {S<:AbstractSampler}
test(config!::Function, optimizer::Type{S}; examples::Bool=true) where {S<:AbstractSampler}Run QUBODrivers' interface and example test suite for a sampler implementation.
These methods are implemented by the QUBODrivers_Test_Ext package extension and become available when Test is loaded in the active environment. The core package does not depend on Test directly.