예제 #1
0
def test_update():
    if is_dakota_installed():
        model = Sampling()
        model.initialize()
        model.update()
        assert_true(os.path.exists(dakota_files["input"]))
        assert_true(os.path.exists(dakota_files["output"]))
        assert_true(os.path.exists(dakota_files["data"]))
예제 #2
0
def test_finalize():
    if is_dakota_installed():
        model = Sampling()
        model.initialize()
        model.update()
        model.finalize()