Contiki-NG
unit-test.c File Reference

Default print function for unit tests. More...

#include <inttypes.h>
#include <stdio.h>
#include "unit-test.h"

Go to the source code of this file.

Functions

void unit_test_print_report (const unit_test_t *utp)
 Print the results of a unit test. More...
 

Detailed Description

Default print function for unit tests.

Author
Nicolas Tsiftes nicol.nosp@m.as.t.nosp@m.sifte.nosp@m.s@ri.nosp@m..se

Definition in file unit-test.c.

Function Documentation

◆ unit_test_print_report()

void unit_test_print_report ( const unit_test_t utp)

Print the results of a unit test.

Parameters
utpThe unit test descriptor.

Definition at line 49 of file unit-test.c.

References CLOCK_SECOND.