moe.tests.optimal_learning.python.cpp_unit_tests package

Submodules

moe.tests.optimal_learning.python.cpp_unit_tests.cpp_unit_test_wrapper_test module

Dummy test case that invokes all of the C++ unit tests.

class moe.tests.optimal_learning.python.cpp_unit_tests.cpp_unit_test_wrapper_test.TestCppUnitTestWrapper[source]

Bases: object

Calls a C++ function that runs all C++ unit tests.

TODO(GH-115): Remove/fix this once C++ gets a proper unit testing framework.

test_run_cpp_unit_tests()[source]

Call C++ function that runs all C++ unit tests and assert 0 errors.

Module contents

Single test case that invokes the C++ unit tests.

These live in a separate directory so it’s easier to only invoke the Python cpp_wrappers tests without hitting this (slower-running) suite.