Merge pull request #228 from bkryza/add-coroutine-testcase

Add coroutine testcase
This commit is contained in:
Bartek Kryza
2024-01-11 17:10:25 +01:00
committed by GitHub
730 changed files with 20748 additions and 7689 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file tests/test_util.cc
*
* Copyright (c) 2021-2023 Bartek Kryza <bkryza@gmail.com>
* Copyright (c) 2021-2024 Bartek Kryza <bkryza@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,8 @@ TEST_CASE("Test split", "[unit-test]")
const C empty{};
CHECK(split("", " ") == C{""});
CHECK(split("", " ") == C{});
CHECK(split("", ".") == C{});
CHECK(split("ABCD", " ") == C{"ABCD"});
CHECK(split("::A", "::") == C{"A"});
CHECK(split("::", "::") == C{});