diff options
author | Håvard Pettersen <havardpe@oath.com> | 2017-10-03 13:11:24 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2017-10-03 13:11:24 +0000 |
commit | 38e1daf1c98882a1f75a345bcf5eca84c222fa89 (patch) | |
tree | 1215a6496d5539ae1d87670b539b371ec17e8a13 /eval/src/apps/tensor_conformance/generate.h | |
parent | 81b9d23e0e85e73626ff6edea446741bb263b465 (diff) |
wire in spec-based tensor conformance testing
verify conformance spec generation
verify C++ default expression evaluation
bonus: verify binary format test spec generation
Diffstat (limited to 'eval/src/apps/tensor_conformance/generate.h')
-rw-r--r-- | eval/src/apps/tensor_conformance/generate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eval/src/apps/tensor_conformance/generate.h b/eval/src/apps/tensor_conformance/generate.h index d20d085f00c..0f74ce924b3 100644 --- a/eval/src/apps/tensor_conformance/generate.h +++ b/eval/src/apps/tensor_conformance/generate.h @@ -7,13 +7,13 @@ struct TestBuilder { using TensorSpec = vespalib::eval::TensorSpec; - // add test with undefined expected result - virtual void add(const vespalib::string &expression, - const std::map<vespalib::string,TensorSpec> &inputs) = 0; // add test with pre-defined expected result virtual void add(const vespalib::string &expression, const std::map<vespalib::string,TensorSpec> &inputs, const TensorSpec &expect) = 0; + // add test with undefined expected result + virtual void add(const vespalib::string &expression, + const std::map<vespalib::string,TensorSpec> &inputs) = 0; virtual ~TestBuilder() {} }; |