Using googletest as test module, testing every single data structure implement function.
-
src: include all data structure implement
-
tests: include all tests, every single test file correspond to src file, and test module name start with Test*
-
googletest: This repo using git submodule to manage its googletest dependency.
-
spdlog: C++ log library.
-
hello
This is a library test
-
scratches
Review C++ grammar, explore C++ features.
# submodule usage
$ git submodule init
$ git submodule add https://github.com/google/googletest.git googletest-src
# cloned repo and udpate the submodule
$ git submodule init && git submodule updateUsing cmake to build project
$ mkdir build && cd build
$ cmake build ..
$ make
# run all tests
$ ./google-test-run
# run application
$ ./data-structureUsing clang-format to format code
# generate clang-format config file, and then use clion config format
$ clang-format -style=llvm -dump-config > .clang-formatPS> mkdir build && cd build
PS> cmake ..
PS> explorer.exe data_structure.sln
# then it will load all structure, if we want to see file structure in Solution Explorer, click Switch Views