-
- Downloads
Add C unit tests (!54)
<!-- ICON --------------------------------------------------------------- Copyright (C) 2004-2024, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss Contact information: icon-model.org See AUTHORS.TXT for a list of authors See LICENSES/ for license information SPDX-License-Identifier: CC0-1.0 --------------------------------------------------------------- --> ## What is the new feature Add unit tests for C functions ## How is it implemented Use Googletest to implement missing unit tests in #6 ## Mandatory steps before review - [x] Gitlab CI passes _(Hint: use `make format` for linting)_ - [x] New feature is covered by additional unit tests - [x] Mark the merge request as ready by removing `Draft:` ## Mandatory steps before merge - [x] Test coverage does not decrease - [ ] Reviewed by a maintainer - [ ] Incorporate review suggestions - [ ] Remember to edit the commit message and select the proper changelog category (feature/bugfix/other) **You are not supposed to merge this request by yourself, the maintainers of fortan-support take care of this action!** Approved-by:Jonas Jucker <jonas.jucker@env.ethz.ch> Merged-by:
Jonas Jucker <jonas.jucker@env.ethz.ch> Changelog: other
Showing
- src/util_stride.h 28 additions, 0 deletionssrc/util_stride.h
- src/util_string_parse.h 26 additions, 0 deletionssrc/util_string_parse.h
- src/util_system.h 27 additions, 0 deletionssrc/util_system.h
- test/c/CMakeLists.txt 3 additions, 0 deletionstest/c/CMakeLists.txt
- test/c/ctest_util_arithmetic_expr.cpp 98 additions, 11 deletionstest/c/ctest_util_arithmetic_expr.cpp
- test/c/ctest_util_stride.cpp 98 additions, 0 deletionstest/c/ctest_util_stride.cpp
- test/c/ctest_util_string_parse.cpp 120 additions, 0 deletionstest/c/ctest_util_string_parse.cpp
- test/c/ctest_util_system.cpp 34 additions, 0 deletionstest/c/ctest_util_system.cpp
src/util_stride.h
0 → 100644
src/util_string_parse.h
0 → 100644
src/util_system.h
0 → 100644
test/c/ctest_util_stride.cpp
0 → 100644
test/c/ctest_util_string_parse.cpp
0 → 100644
test/c/ctest_util_system.cpp
0 → 100644
Please register or sign in to comment