Found my old LEL code and got the shell working, so tomorrow I'll try to make it layout some gui element.

This commit is contained in:
Zed A. Shaw 2025-02-14 02:13:08 -05:00
parent 8a6b38c1a4
commit bfd2718cc9
8 changed files with 485 additions and 3 deletions

21
tests/lel.cpp Normal file
View file

@ -0,0 +1,21 @@
#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);
}