Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Functions
arg_parser_test.c File Reference
#include <criterion/criterion.h>
#include "arg_parse.h"
Include dependency graph for arg_parser_test.c:

Go to the source code of this file.

Functions

 Test (arg_parser, get_nb_mandatory)
 
 Test (arg_parser, check_mandatory_set)
 
 Test (arg_parser, check_mandatory_set_with_f)
 
 Test (arg_parser, check_mandatory_set_incorrect,.description="Port missing")
 
 Test (arg_parser, get_nb_parameter)
 
 Test (arg_parser, get_nb_parameter_with_f)
 
 Test (arg_parser, is_param)
 
 Test (arg_parser, is_param_false)
 
 Test (arg_parser, get_arg)
 
 Test (arg_parser, get_arg_with_f)
 
 Test (arg_parser, get_arg_fail)
 

Function Documentation

◆ Test() [1/11]

Test ( arg_parser ,
check_mandatory_set  )

Definition at line 19 of file arg_parser_test.c.

◆ Test() [2/11]

Test ( arg_parser ,
check_mandatory_set_incorrect ,
. description = "Port missing" )

Definition at line 39 of file arg_parser_test.c.

◆ Test() [3/11]

Test ( arg_parser ,
check_mandatory_set_with_f  )

Definition at line 29 of file arg_parser_test.c.

◆ Test() [4/11]

Test ( arg_parser ,
get_arg  )

Definition at line 91 of file arg_parser_test.c.

◆ Test() [5/11]

Test ( arg_parser ,
get_arg_fail  )

Definition at line 144 of file arg_parser_test.c.

◆ Test() [6/11]

Test ( arg_parser ,
get_arg_with_f  )

Definition at line 116 of file arg_parser_test.c.

◆ Test() [7/11]

Test ( arg_parser ,
get_nb_mandatory  )

Definition at line 12 of file arg_parser_test.c.

◆ Test() [8/11]

Test ( arg_parser ,
get_nb_parameter  )

Definition at line 49 of file arg_parser_test.c.

◆ Test() [9/11]

Test ( arg_parser ,
get_nb_parameter_with_f  )

Definition at line 59 of file arg_parser_test.c.

◆ Test() [10/11]

Test ( arg_parser ,
is_param  )

Definition at line 69 of file arg_parser_test.c.

◆ Test() [11/11]

Test ( arg_parser ,
is_param_false  )

Definition at line 80 of file arg_parser_test.c.