asrt
Automated System Runtime Testing library
Loading...
Searching...
No Matches
source_to_str.h
1
12#ifndef ASRT_SOURCE_TO_STR_H
13#define ASRT_SOURCE_TO_STR_H
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include "./source.h"
20
21inline static char const* asrt_source_to_str( enum asrt_source st )
22{
23 switch ( st ) {
24 case ASRT_REACTOR:
25 return "react";
26 case ASRT_CONTROLLER:
27 return "contr";
28 }
29 return "unknown";
30}
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif