Skip to content
forked from dejw/algotester

Compiles your code in C/C++ and runs against a set of test cases.

Notifications You must be signed in to change notification settings

Ormared/algotester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Algotester

Installation

wget https://raw.github.com/dejw/algotester/master/algotester.sh
chmod +x algotester.sh

Usage

./algotester.sh program_name [test_directory ...]

Programs are compiled using make program_name command. Test directory should contain an even number of files (2 for each test case).

Test case is an input file (*.in) and output file (*.out) - base names should match each other.

Outputs are compared byte by byte.

Config

You can change timeout (in seconds) and memory limit (in megabytes) at the top of the file.

About

Compiles your code in C/C++ and runs against a set of test cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%