Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
raycaster/tests/lel.cpp

22 lines
442 B

#include "lel.hpp"
#include <catch2/catch_test_macros.hpp>
#include <fmt/core.h>
#include <string>
#include "ansi_parser.hpp"
#include <codecvt>
#include <iostream>
TEST_CASE("test basic ops", "[lel]") {
LELParser parser;
bool good = parser.parse(
"[ label_1 | label3 ]"
"[ (300,300)*text1 | (150)people ]"
"[ <label2 | _ ]"
"[ message | buttons ]");
REQUIRE(good);
}