mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-08 08:13:56 +00:00
changelog update for 5.2.4
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
#SOFTWARE.
|
||||
|
||||
cmake_minimum_required(VERSION 3.11)
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
project(bitsery_tests
|
||||
LANGUAGES CXX)
|
||||
|
||||
|
||||
@@ -23,14 +23,13 @@
|
||||
#include <bitsery/brief_syntax.h>
|
||||
#include <bitsery/brief_syntax/array.h>
|
||||
#include <bitsery/brief_syntax/atomic.h>
|
||||
#include <bitsery/brief_syntax/bitset.h>
|
||||
#include <bitsery/brief_syntax/chrono.h>
|
||||
#include <bitsery/brief_syntax/deque.h>
|
||||
#include <bitsery/brief_syntax/forward_list.h>
|
||||
#include <bitsery/brief_syntax/list.h>
|
||||
#include <bitsery/brief_syntax/map.h>
|
||||
#include <bitsery/brief_syntax/memory.h>
|
||||
#include <bitsery/brief_syntax/optional.h>
|
||||
|
||||
#include <bitsery/brief_syntax/queue.h>
|
||||
#include <bitsery/brief_syntax/set.h>
|
||||
#include <bitsery/brief_syntax/stack.h>
|
||||
@@ -41,6 +40,10 @@
|
||||
#if __cplusplus > 201402L
|
||||
#include <bitsery/brief_syntax/tuple.h>
|
||||
#include <bitsery/brief_syntax/variant.h>
|
||||
#include <bitsery/brief_syntax/optional.h>
|
||||
#if __cplusplus > 202002L
|
||||
#include <bitsery/brief_syntax/bitset.h>
|
||||
#endif
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma message( \
|
||||
"C++17 and /Zc:__cplusplus option is required to enable std::tuple and std::variant brief syntax tests")
|
||||
@@ -475,12 +478,6 @@ TEST(BriefSyntax, StdAtomic)
|
||||
0x1337);
|
||||
}
|
||||
|
||||
TEST(BriefSyntax, StdBitset)
|
||||
{
|
||||
std::bitset<17> bits{ 0b10101010101010101 };
|
||||
EXPECT_TRUE(procBriefSyntax(bits) == bits);
|
||||
}
|
||||
|
||||
#if __cplusplus > 201402L
|
||||
|
||||
TEST(BriefSyntax, StdTuple)
|
||||
@@ -504,6 +501,16 @@ TEST(BriefSyntax, StdOptional)
|
||||
EXPECT_TRUE(procBriefSyntax(opt) == opt);
|
||||
}
|
||||
|
||||
#if __cplusplus > 202002L
|
||||
|
||||
TEST(BriefSyntax, StdBitset)
|
||||
{
|
||||
std::bitset<17> bits{ 0b10101010101010101 };
|
||||
EXPECT_TRUE(procBriefSyntax(bits) == bits);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
TEST(BriefSyntax, NestedTypes)
|
||||
|
||||
Reference in New Issue
Block a user