Skip to content

Aldisti/cub3d-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cub3d-tester

A simple parser tester for cub3d

Installation

Access the folder in which your Makefile and executable are located cd <path_to_cub3d>

Now you can clone this repository with

git clone https://github.com/Aldisti/cub3d-tester.git

Usage

When you want to run the tester you have to enter its folder cd cub3d-tester and you can launch the tester with

./test.sh

or

sh test.sh

Output

The tester will tell you in real time how many tests have passed and which have not. Furthermore, once all the tests have been performed, a folder (out) will be created containing the tested maps and their outputs. The file will be named 'out<map_number>.out' and the map and output will be separated by some '#'s.

Pro tip

If the out file after the '#'s is empty, then your cub3d didn't recognize the error.

Bug report

If you find some bugs or errors of any type, please, report them to me. You can contact me on slack: @adi-stef

About

A simple parser tester for cub3d

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages