|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Interpreter_Runtime.H. More...
#include <gtest/gtest.h>#include <Compiler_HIR_Lowering_MVP.H>#include <Compiler_Parser.H>#include <Interpreter_Runtime.H>Go to the source code of this file.
Functions | |
| TEST (InterpreterRuntime, EvaluatesTopLevelBindingsAndCallsFunctions) | |
| TEST (InterpreterRuntime, SupportsLoopsAssignmentsAndLocalMutation) | |
| TEST (InterpreterRuntime, BindsHostFunctionsInPrelude) | |
| TEST (InterpreterRuntime, TupleValuesKeepDeepCopySemantics) | |
| TEST (InterpreterRuntime, ReportsStructuredRuntimeErrors) | |
Tests for Interpreter_Runtime.H.
Definition in file interpreter_runtime_test.cc.
| TEST | ( | InterpreterRuntime | , |
| BindsHostFunctionsInPrelude | |||
| ) |
Definition at line 152 of file interpreter_runtime_test.cc.
References Aleph::DynArray< T >::append(), Aleph::blossom_maximum_cardinality_matching(), Aleph::interpreter_value_to_string(), and Aleph::Interpreter_Value::make_integer().
| TEST | ( | InterpreterRuntime | , |
| EvaluatesTopLevelBindingsAndCallsFunctions | |||
| ) |
Definition at line 87 of file interpreter_runtime_test.cc.
References Aleph::DynArray< T >::append(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), Aleph::interpreter_dump_globals(), and Aleph::Interpreter_Value::make_integer().
| TEST | ( | InterpreterRuntime | , |
| ReportsStructuredRuntimeErrors | |||
| ) |
Definition at line 188 of file interpreter_runtime_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::Diagnostic_Engine::has_errors().
| TEST | ( | InterpreterRuntime | , |
| SupportsLoopsAssignmentsAndLocalMutation | |||
| ) |
Definition at line 123 of file interpreter_runtime_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Engine::has_errors(), Aleph::Interpreter_Value::integer_value, and Aleph::Interpreter_Value::kind.
| TEST | ( | InterpreterRuntime | , |
| TupleValuesKeepDeepCopySemantics | |||
| ) |
Definition at line 170 of file interpreter_runtime_test.cc.
References Aleph::DynArray< T >::append(), Aleph::blossom_maximum_cardinality_matching(), Aleph::Interpreter_Value::make_integer(), and Aleph::Interpreter_Value::make_tuple().