Add utilities for type checking awesome MG functions
Reviewers: mtomic, msantl Reviewed By: mtomic, msantl Subscribers: buda, pullbot Differential Revision: https://phabricator.memgraph.io/D2259
This commit is contained in:
parent
34f80722c2
commit
f7575eb112
File diff suppressed because it is too large
Load Diff
@ -1304,9 +1304,9 @@ TEST_F(FunctionTest, UniformSample) {
|
||||
ASSERT_TRUE(
|
||||
EvaluateFunction("UNIFORMSAMPLE", TypedValue(), TypedValue()).IsNull());
|
||||
ASSERT_TRUE(EvaluateFunction("UNIFORMSAMPLE", TypedValue(), 1).IsNull());
|
||||
ASSERT_THROW(
|
||||
EvaluateFunction("UNIFORMSAMPLE", MakeTypedValueList(), TypedValue()),
|
||||
QueryRuntimeException);
|
||||
ASSERT_TRUE(
|
||||
EvaluateFunction("UNIFORMSAMPLE", MakeTypedValueList(), TypedValue())
|
||||
.IsNull());
|
||||
ASSERT_TRUE(
|
||||
EvaluateFunction("UNIFORMSAMPLE", MakeTypedValueList(), 1).IsNull());
|
||||
ASSERT_THROW(
|
||||
|
Loading…
Reference in New Issue
Block a user