c-template
colors_test.c File Reference
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <assert.h>
#include <string.h>
#include "../../include/utils/colors.h"
Include dependency graph for colors_test.c:

Go to the source code of this file.

Data Structures

struct  args
 
struct  test
 

Typedefs

typedef struct args args
 
typedef struct test test
 

Functions

void test_print_color (void **state)
 
void test_get_ansi_color_scheme (void **state)
 
void validate_test_args (test testdata)
 
int main (void)
 

Typedef Documentation

◆ args

typedef struct args args

◆ test

typedef struct test test

Function Documentation

◆ main()

int main ( void  )

Definition at line 103 of file colors_test.c.

Here is the call graph for this function:

◆ test_get_ansi_color_scheme()

void test_get_ansi_color_scheme ( void **  state)

Definition at line 38 of file colors_test.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_print_color()

void test_print_color ( void **  state)

◆ validate_test_args()

void validate_test_args ( test  testdata)

Definition at line 26 of file colors_test.c.

Here is the call graph for this function:
Here is the caller graph for this function: