diff --git a/MyTinySTL/Test/README.md b/MyTinySTL/Test/README.md index e1906ff..73a64be 100644 --- a/MyTinySTL/Test/README.md +++ b/MyTinySTL/Test/README.md @@ -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`。
+ 在 [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`。
测试案例如下: + * [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 @@ -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)。 +