Update eval_udq() in Summary

This commit is contained in:
Joakim Hove
2019-03-07 10:32:35 +01:00
parent 7a2c1157a0
commit 118f4dd3de
4 changed files with 37 additions and 10 deletions

View File

@@ -339,7 +339,8 @@ ASSIGN WU2 8.0 /
BOOST_AUTO_TEST_CASE(UDQ_CONTEXT) {
SummaryState st;
UDQContext ctx(st);
UDQFunctionTable func_table;
UDQContext ctx(func_table, st);
BOOST_CHECK_EQUAL(ctx.get("JAN"), 1.0);
BOOST_REQUIRE_THROW(ctx.get("NO_SUCH_KEY"), std::out_of_range);