This website requires JavaScript.
Explore
Help
Sign In
建峰
apaki
0 Followers
·
0 Following
北京
http://blog.wenjianfeng.top/
👍
保持乐观,热爱生活 !Real men program in C
Joined on
2024-08-02
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
User to block:
Optional note:
The note is not visible to the blocked user.
Cancel
Block
Repositories
2
Projects
2
Packages
Public Activity
Starred Repositories
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-09-02 11:21:37 +08:00
feffd2b3c7
迭代器:后续遍历测试通过
36707a4b72
中序遍历测试通过
1bf06756b7
添加测试用的数据
Compare 3 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-09-02 03:11:37 +08:00
5954acb1a0
把tree的迭代器调试通过了,left优先的前序遍历ok!
bfc6e88bb9
内存溢出真的很可怕,10秒左右直接给我电脑卡崩了。16G内存,以肉眼可见的速率直冲100%
c9a971971a
tree的迭代器怎么算结束了,我没有想明白!
c4ea040660
先添加上,但是具体的测试方案,想等添加了迭代器相关函数后再写。
5a9400459e
test_heap新增单测
Compare 9 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-30 18:01:37 +08:00
98ead745ff
把栈新节点的创建和释放独立成函数
170c2a5421
编码统一使用utf8
349889ea98
给list添加迭代器,方便遍历
d6811b824c
iter测试还存在点问题
ee19e77ab8
test_list新增单测
Compare 5 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-30 09:51:37 +08:00
6c74793931
list单测及代码结构调整
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-30 01:41:38 +08:00
e3f547875f
stack单测,完善push、pop等
03f4396227
stack添加单侧
87ff4b4127
queue单元测试基本完善
e8c5a06fa4
init也要加单元测试,但是推荐使用new接口。另外关于内存溢出问题交给使用者吧。new和free必须成对,init和destory必须成对出现
d8012720b6
init函数可以多次调用,但是为了防止内存泄漏。因此每次初始化时先执行一次destory操作
Compare 10 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-29 17:31:36 +08:00
142a248d34
如何保证单元测试覆盖率
015ecd1cf9
添加结构体测试框架
ff7f587b00
更新队列单元测试
2271502274
大概知道该怎么写单元测试了
Compare 4 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-29 01:11:37 +08:00
18a14d6d03
放弃新增的代码,直接采用现有结构。在头文件宏定义中添加__FILE__结果符合预期。不能在unity.c文件中这样做。否则所有的测试汇总信息都定位到了unity。
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-28 09:01:37 +08:00
f87dc997eb
修改测试文件打印信息
0319209b21
针对多文件测试路径显示问题,做了修改
Compare 2 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-28 00:51:36 +08:00
383f9ffe4b
修复bug,这就是单元测试的意义吧!
447200a5e6
修改数据结构释放函数参数,以保证结构体指针被释放后能恢复到NULL
81c7854033
unity多文件单元测试的编写思考,可能无法做大打印的信息直接定位到特定文件。只显示BEGIN的文件。
c6ec1b1574
基于unity单元测试框架的statck测试代码
8cd562d923
把测试框架搭建起来,后续添加测试内容。
Compare 6 commits »
apaki
synced commits to
master
at
apaki/unicstl
from mirror
2024-08-27 00:31:36 +08:00
9d81e3e62d
头文件添加函数声明
f55113756a
vs2022居然不支持c99的vla(可变长数组),只好做了一下代码修改。提高一下兼容性。
Compare 2 commits »
First
Previous
1
2
3
4
Next
Last