Skip to content

hadber/testm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Info

A wrapper around the pdb (python debug) module, used to test code with. It's not hugely practical, was made more to settle an argument.

Usage

To compile the program, simply run:

gcc -Wall -g testm.c -o testm.o

Afterwards, you can execute it on the example_commands.txt and func_test.py by running the following:

./testm.o func_test.py example_commands.txt

example_commands.txt general layout is as follows:

<number of tests>
<testname> <function name> <function arguments> <expected return value>
<testname2> ...