Refactored parts of the parser

Done to make testing internal parts of the Parser easier as they can now be called via the .lib
This commit is contained in:
Pasha Bibko
2025-08-20 21:56:33 +01:00
parent 466d861e0b
commit a18e652915
7 changed files with 93 additions and 73 deletions

View File

@@ -1,9 +1,27 @@
#include <gtest/gtest.h>
#include <ParserContext.h>
#include <LX_Parser.h>
// The tests for the parser //
namespace PashaBibko::LXC::Parser
{
TEST(ParserTests, ARE_PARSER_TESTS_COMPILING)
TEST(ParserTests, ParserContextAtAndInBounds)
{
EXPECT_TRUE(true);
}
TEST(ParserTests, ParserContextPeek)
{
EXPECT_TRUE(true);
}
TEST(ParserTests, ParserContextAdvance)
{
EXPECT_TRUE(true);
}
TEST(ParserTests, ParserContextExpect)
{
EXPECT_TRUE(true);
}