文件名称:leetcode答案-TestWithGtest:使用googletest进行测试
文件大小:1.42MB
文件格式:ZIP
更新时间:2024-07-19 19:22:41
系统开源
leetcode 答案测试与测试 leetcode 问题的答案 目录 ├── gtest //google test ├── leetcode //source code ├── main //run file ├── Makefile // Make file ├── README.md // ├── buildAndRun.sh //run shell └── testcase //test case file 编译 g++ -o 001_two_sum.o -c ./leetcode/src/001_Two_Sum.c -I ./leetcode/include/ g++ -o leetcode_test.o -c ./testcase/src/leetcode_test.cpp -I ./ -I ./leetcode/include/ -I ./testcase/include/ g++ -o TestAll.o -c ./gtest/main/TestAll.cpp -I ./ g++ -o main *.o -I./include -L./gtest/lib -
【文件预览】:
TestWithGtest-master
----gtest()
--------gtest-test-part.h(6KB)
--------gtest-death-test.h(11KB)
--------internal()
--------gtest-typed-test.h(10KB)
--------gtest-param-test.h(75KB)
--------gtest-printers.h(36KB)
--------gtest-message.h(9KB)
--------gtest_pred_impl.h(15KB)
--------gtest-param-test.h.pump(20KB)
--------gtest-spi.h(10KB)
--------gtest_prod.h(2KB)
--------main()
--------lib()
--------gtest.h(84KB)
----leetcode()
--------include()
--------src()
----gmock()
--------gmock.h(4KB)
--------internal()
--------gmock-actions.h(40KB)
--------gmock-more-matchers.h(2KB)
--------gmock-generated-function-mockers.h(45KB)
--------gmock-matchers.h(156KB)
--------gmock-more-actions.h(9KB)
--------gmock-generated-function-mockers.h.pump(9KB)
--------main()
--------gmock-generated-nice-strict.h(16KB)
--------lib()
--------gmock-generated-matchers.h(84KB)
--------gmock-spec-builders.h(68KB)
--------README.md(726B)
--------gmock-generated-actions.h(102KB)
--------gmock-generated-matchers.h.pump(21KB)
--------gmock-cardinalities.h(6KB)
--------gmock-generated-nice-strict.h.pump(6KB)
--------gmock-generated-actions.h.pump(26KB)
----Makefile(863B)
----buildAndRun.sh(53B)
----README.md(733B)
----testcase()
--------include()
--------src()