Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alinshans authored Feb 3, 2017
1 parent cd584e2 commit 57e7c51
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions MyTinySTL/Test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,12 @@ UnitTest


###测试内容
[test.h](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/test.h) 中定义了两个宏,`PERFORMANCE_TEST_ON`, `MEMORY_IS_ENOUGH``PERFORMANCE_TEST_ON` 宏定义为 `1`开启测试`MEMORY_IS_ENOUGH` 宏定义为 `1`增大测试量(内存消耗)。默认开启 `PERFORMANCE_TEST_ON` 关闭 `MEMORY_IS_ENOUGH`。<br>
[test.h](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/test.h) 中定义了两个宏,`PERFORMANCE_TEST_ON`, `MEMORY_IS_ENOUGH``PERFORMANCE_TEST_ON` 宏定义为 `1`开启性能测试`MEMORY_IS_ENOUGH` 宏定义为 `1`增大测试数据(内存消耗)。默认开启 `PERFORMANCE_TEST_ON` 关闭 `MEMORY_IS_ENOUGH`。<br>
测试案例如下:

* [algorithm](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/algorithm_test.h) *(100%/100%)*
* [algorithm_performance](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/algorithm_performance_test.h) *(100%/100%)*
* [deque](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/deque_test.h) *(100%/100%)*
* [hash_map](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/hash_map_test.h) *(100%/100%)*
* hash_map
* hash_multimap
* [hash_set](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/hash_set_test.h) *(100%/100%)*
* hash_set
* hash_multiset
* [list](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/list_test.h) *(100%/100%)*
* [map](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/map_test.h) *(100%/100%)*
* map
Expand All @@ -41,8 +36,15 @@ UnitTest
* multiset
* [stack](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/stack_test.h) *(100%/100%)*
* [string_test](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/string_test.h) *(100%/100%)*
* [unordered_map](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/unordered_map_test.h) *(100%/100%)*
* unordered_map
* unordered_multimap
* [unordered_set](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/unordered_set_test.h) *(100%/100%)*
* unordered_set
* unordered_multiset
* [vector](https://github.com/Alinshans/MyTinySTL/blob/master/MyTinySTL/Test/vector_test.h) *(100%/100%)*


###测试结果
[Travis CI](https://travis-ci.org/Alinshans/MyTinySTL)[AppVeyor](https://ci.appveyor.com/project/Alinshans/mytinystl)
[Travis CI](https://travis-ci.org/Alinshans/MyTinySTL)[AppVeyor](https://ci.appveyor.com/project/Alinshans/mytinystl)

0 comments on commit 57e7c51

Please sign in to comment.