diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-10-19 11:33:28 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-10-19 11:47:46 +0000 |
commit | e3454747946a6f9075cd1010330c73166c1238fe (patch) | |
tree | 99426b019c137045c75c304ee3538d3bbf6d8cb7 | |
parent | b169f9da0116fa7f2bbcada2411c942fe7fa7052 (diff) |
run conformance test also for SimpleValueEngine
-rw-r--r-- | eval/src/tests/tensor/tensor_conformance/tensor_conformance_test.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eval/src/tests/tensor/tensor_conformance/tensor_conformance_test.cpp b/eval/src/tests/tensor/tensor_conformance/tensor_conformance_test.cpp index a9681cd85c9..1509ea05176 100644 --- a/eval/src/tests/tensor/tensor_conformance/tensor_conformance_test.cpp +++ b/eval/src/tests/tensor/tensor_conformance/tensor_conformance_test.cpp @@ -2,6 +2,7 @@ #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/test/tensor_conformance.h> #include <vespa/eval/eval/simple_tensor_engine.h> +#include <vespa/eval/eval/simple_value_engine.h> #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/eval/fast_value.h> #include <vespa/eval/tensor/default_tensor_engine.h> @@ -10,6 +11,7 @@ using vespalib::eval::SimpleValueBuilderFactory; using vespalib::eval::FastValueBuilderFactory; using vespalib::eval::SimpleTensorEngine; +using vespalib::eval::SimpleValueEngine; using vespalib::eval::test::TensorConformance; using vespalib::tensor::DefaultTensorEngine; using vespalib::make_string; @@ -25,11 +27,15 @@ TEST("require that production tensor implementation passes all conformance tests TEST_DO(TensorConformance::run_tests(module_src_path, DefaultTensorEngine::ref())); } -TEST("require that SimpleValue implementation passes all conformance tests (except ImmediateAPI tests)") { +TEST("require that SimpleValue implementation passes all conformance tests") { TEST_DO(TensorConformance::run_tests(module_src_path, SimpleValueBuilderFactory::get())); } -TEST("require that FastValue implementation passes all conformance tests (except ImmediateAPI tests)") { +TEST("require that SimpleValueEngine passes all conformance tests") { + TEST_DO(TensorConformance::run_tests(module_src_path, SimpleValueEngine::ref())); +} + +TEST("require that FastValue implementation passes all conformance tests") { TEST_DO(TensorConformance::run_tests(module_src_path, FastValueBuilderFactory::get())); } |