Files
imhex/tests/pattern_language/source/tests.cpp
Polshakov Dmitry 937ccbc5bd patterns: Restore data offset for local variables / added array, nested structs and functions tests (#475)
* fix(eval): restore data offset for local variables

* test(pattern_lang): add tests for arrays, nested structs and functions

Co-authored-by: Dmitry Polshakov <dmitry.polshakov@dsr-corporation.com>
2022-03-20 21:42:21 +01:00

37 lines
1.2 KiB
C++

#include <array>
#include "test_patterns/test_pattern_placement.hpp"
#include "test_patterns/test_pattern_structs.hpp"
#include "test_patterns/test_pattern_unions.hpp"
#include "test_patterns/test_pattern_enums.hpp"
#include "test_patterns/test_pattern_literals.hpp"
#include "test_patterns/test_pattern_padding.hpp"
#include "test_patterns/test_pattern_succeeding_assert.hpp"
#include "test_patterns/test_pattern_failing_assert.hpp"
#include "test_patterns/test_pattern_bitfields.hpp"
#include "test_patterns/test_pattern_math.hpp"
#include "test_patterns/test_pattern_rvalues.hpp"
#include "test_patterns/test_pattern_namespaces.hpp"
#include "test_patterns/test_pattern_extra_semicolon.hpp"
#include "test_patterns/test_pattern_pointers.hpp"
#include "test_patterns/test_pattern_arrays.hpp"
#include "test_patterns/test_pattern_nested_structs.hpp"
std::array Tests = {
TEST(Placement),
TEST(Structs),
TEST(Unions),
TEST(Enums),
TEST(Literals),
TEST(Padding),
TEST(SucceedingAssert),
TEST(FailingAssert),
TEST(Bitfields),
TEST(Math),
TEST(RValues),
TEST(Namespaces),
TEST(ExtraSemicolon),
TEST(Pointers),
TEST(Arrays),
TEST(NestedStructs),
};