此模块文件就是测试套件的入口点。
如果您想确保malloc正在被使用,那么您应该通过向函数的入口点添加write调用来进行测试。
If you want to be sure that your malloc is being used, you should test it by adding calls to write at the entry points of your functions.
这是单元测试的主要入口点。它有一些你不熟悉的自定义配置,不过你并不需要编辑这里的任何东西。
This is the main entry point for your unit tests. It has some custom configuration that might be unfamiliar, but it's not something you'll need to edit.
应用推荐