Skip to content

darilrt/amuse_utest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amuse UTest

This is a unit test framework for Amuse. Its main goal is to provide a simple way to test the Amuse codebase.

Example of unit test

#include <amuse_utest/utest.hpp>

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

TEST(Addition, "Addition of two numbers") {
    ASSERT(add(1, 2) == 3);
    ASSERT(add(2, 3) == 5);
    ASSERT(add(3, 4) == 7);
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors