Skip to content
Snippets Groups Projects
test_caosdb.m 348 B
Newer Older
function test_suite=test_caosdb
    try % assignment of 'localfunctions' is necessary in Matlab >= 2016
        test_functions=localfunctions();
    catch % no problem; early Matlab versions can use initTestSuite fine
    end
    initTestSuite;

function test_print_version
    v = caosdb("--version")
Daniel Hornung's avatar
Daniel Hornung committed
    assertEqual(v, "v0.1 (libcaosdb v0.0.6)")