/** @file unitTest.cxx ** Unit Tests for Lexilla internal data structures **/ /* Currently tested: WordList SparseState */ #include #include #include #include #include #if defined(__GNUC__) // Want to avoid misleading indentation warnings in catch.hpp but the pragma // may not be available so protect by turning off pragma warnings #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC diagnostic ignored "-Wpragmas" #if !defined(__clang__) #pragma GCC diagnostic ignored "-Wmisleading-indentation" #endif #endif #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp"