Quantcast
Channel: A simple unit test library for C - Code Review Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Toby Speight for A simple unit test library for C

The header doesn't need to include anything except <stddef.h> (to define size_t).These two externs are never used:extern size_t passes;extern size_t failed;We should just delete them - or perhaps...

View Article


Image may be NSFW.
Clik here to view.

A simple unit test library for C

I have rolled this simple unit test library for C:com_github_coderodde_my_assert.h:#ifndef COM_GITHUB_CODERODDE_MY_ASSERT_H#define COM_GITHUB_CODERODDE_MY_ASSERT_H#include <stdbool.h>#include...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>