diff options
| author | ruki <[email protected]> | 2022-11-03 22:52:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-03 13:06:03 +0800 |
| commit | baa927b93ae6c9dfa30be5bc0d15d958fb37a74a (patch) | |
| tree | 02b42fd5d2daaf1689c341d8479fdc0e0b0862cb /tests/projects/c++/modules/stdmodules/test/test.cpp | |
| parent | f2ea9f6021fcb21ad0f8fc42d3bc78a3ae7d2283 (diff) | |
improve tests
Diffstat (limited to 'tests/projects/c++/modules/stdmodules/test/test.cpp')
| -rw-r--r-- | tests/projects/c++/modules/stdmodules/test/test.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/projects/c++/modules/stdmodules/test/test.cpp b/tests/projects/c++/modules/stdmodules/test/test.cpp index c23ef7efa..050715c4f 100644 --- a/tests/projects/c++/modules/stdmodules/test/test.cpp +++ b/tests/projects/c++/modules/stdmodules/test/test.cpp @@ -1,10 +1,7 @@ -// Copyright 2022 Ângelo Andrade Cirino - -#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN -#include <doctest/doctest.h> - +#include <stdio.h> import std; - import my_module; -TEST_CASE("Test sum") { CHECK(my_sum(1, 1) == 2); } +int main(int argc, char** argv) { + printf("sum: %d\n", my_sum(1, 1)); +} |
