cuno-cli 0.3.0

Everything C/C++ development needs, in one tool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "calc.h"

int add(int a, int b) { return a + b; }

// Tests sit beside the code they check, and are compiled only by
// `cuno test`, which defines CUNO_TEST.
#ifdef CUNO_TEST
#include <cuno/test.hpp>

static cuno::test::suite tests = [] {
    using namespace cuno::test;

    test("add adds", [] {
        expect(eq(add(1, 2), 3));
        expect(eq(add(-1, 1), 0));
    });
};
#endif