Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 418 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 418 Bytes

Criterion Playground

This repo shows a simple showcase how to use Criterion to test C code managed by Cmake.

Setup

Prerequisites

You need to install following tools/packages:

  • gcc
  • cmake
  • clang
  • meson/ninja

Compile

cd build
cmake ..
cmake --build .

Run tests

cd build
./tests/criterion_playground_tests