Plot Script
|
#include "catch.hpp"
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include "semantic_error.hpp"
#include "interpreter.hpp"
#include "expression.hpp"
Functions | |
Expression | run (const std::string &program) |
TEST_CASE ("Test Interpreter parser with expected input", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with numerical literals", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with truncated input", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with extra input", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with single non-keyword", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with empty input", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with empty expression", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with bad number string", "[interpreter]") | |
TEST_CASE ("Test Interpreter parser with incorrect input. Regression Test", "[interpreter]") | |
TEST_CASE ("Test Interpreter result with literal expressions", "[interpreter]") | |
TEST_CASE ("Test Interpreter result with simple procedures (add)", "[interpreter]") | |
TEST_CASE ("Test Interpreter special forms: begin and define", "[interpreter]") | |
TEST_CASE ("Test a medium-sized expression", "[interpreter]") | |
TEST_CASE ("Test arithmetic procedures", "[interpreter]") | |
TEST_CASE ("Test some semantically invalid expresions", "[interpreter]") | |
TEST_CASE ("Test for exceptions from semantically incorrect input", "[interpreter]") | |
TEST_CASE ("Test malformed define", "[interpreter]") | |
TEST_CASE ("Test using number as procedure", "[interpreter]") | |
Expression run | ( | const std::string & | program | ) |
TEST_CASE | ( | "Test Interpreter parser with expected input" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with numerical literals" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with truncated input" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with extra input" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with single non-keyword" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with empty input" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with empty expression" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with bad number string" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter parser with incorrect input. Regression Test" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter result with literal expressions" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter result with simple procedures (add)" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test Interpreter special forms: begin and define" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test a medium-sized expression" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test arithmetic procedures" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test some semantically invalid expresions" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test for exceptions from semantically incorrect input" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test malformed define" | , |
"" | [interpreter] | ||
) |
TEST_CASE | ( | "Test using number as procedure" | , |
"" | [interpreter] | ||
) |