summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/macros_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/tests/macros_test.cpp')
-rw-r--r--3rdparty/bx/tests/macros_test.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/3rdparty/bx/tests/macros_test.cpp b/3rdparty/bx/tests/macros_test.cpp
index 3576b1cf2a9..afcc75788bd 100644
--- a/3rdparty/bx/tests/macros_test.cpp
+++ b/3rdparty/bx/tests/macros_test.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2010-2019 Branimir Karadzic. All rights reserved.
+ * Copyright 2010-2021 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
*/
@@ -24,20 +24,6 @@ BX_STATIC_ASSERT(4 == BX_VA_ARGS_COUNT(1, 2, 3, 4) );
BX_STATIC_ASSERT(5 == BX_VA_ARGS_COUNT(1, 2, 3, 4, 5) );
BX_STATIC_ASSERT(6 == BX_VA_ARGS_COUNT(1, 2, 3, 4, 5, 6) );
-BX_STATIC_ASSERT( 0 == BX_ALIGN_16( 0) );
-BX_STATIC_ASSERT( 16 == BX_ALIGN_16( 1) );
-BX_STATIC_ASSERT( 16 == BX_ALIGN_16( 15) );
-BX_STATIC_ASSERT( 16 == BX_ALIGN_16( 16) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_16(255) );
-
-BX_STATIC_ASSERT( 0 == BX_ALIGN_256( 0) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_256( 1) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_256( 15) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_256(255) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_256(256) );
-BX_STATIC_ASSERT(256 == BX_ALIGN_256(256) );
-BX_STATIC_ASSERT(512 == BX_ALIGN_256(511) );
-
BX_NO_INLINE void unusedFunction()
{
CHECK(false);