Commit f7f25c6f authored by Sigbjørn Revheim's avatar Sigbjørn Revheim
Browse files

Updated tests for FunctionArgument type

parent 67d59df9
Pipeline #23491 passed with stages
in 1 minute and 45 seconds
......@@ -129,55 +129,69 @@
:Expression {"$type" "FunctionCallExpression"
:Function "or"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "lt"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "addition"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "multiplication"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "division"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "not"
:IsSdtlName true
:Arguments ({"$type" "FunctionCallExpression"
:Function "power"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value 2}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value -5}})})}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value 5}})}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value 3}})}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "FunctionCallExpression"
:Function "subtraction"
:IsSdtlName true
:Arguments ({:ArgumentName "EXP1"
:Arguments ({"$type" "FunctionArgument"
:ArgumentName "EXP1"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value 7}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "VariableSymbolExpression"
:VariableName "x"}})}})}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "NumericConstantExpression"
:Value 5}})}}
{:ArgumentName "EXP2"
{"$type" "FunctionArgument"
:ArgumentName "EXP2"
:ArgumentValue {"$type" "VariableSymbolExpression"
:VariableName "y"}})}
:mod-varlist ["a"]})
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment