Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.
/ colbert Public archive

Colbert is a tiny testing framework written in C. It has just one assertion, assert_truthiness, which takes a description and tests whether a given expression evaluates to a boolean value of true.

License

Notifications You must be signed in to change notification settings

unfunco/colbert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colbert

Colbert is a tiny testing framework written in C. It has just one assertion assert_truthiness which takes a description and tests whether a given expression evaluates to a boolean value of true.

Usage example

#include <colbert.h>

int
main(int argc, char *argv[])
{
  assert_truthiness("Addition", 1 + 1 == 2);
  assert_truthiness("Bad addition", 1 + 3 == 5);
  assert_truthiness("Multiplication", 5 * 2 == 10);

  colbert_report();
}

License

Copyright © 2013 – 2015 Daniel Morris
Licensed under the terms of The MIT License.

About

Colbert is a tiny testing framework written in C. It has just one assertion, assert_truthiness, which takes a description and tests whether a given expression evaluates to a boolean value of true.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages