Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bastienkody/testercpp09
Ecole 42 (last cpp module tests)
https://github.com/bastienkody/testercpp09
42school cpp cpp98 testing-tools
Last synced: about 1 month ago
JSON representation
Ecole 42 (last cpp module tests)
- Host: GitHub
- URL: https://github.com/bastienkody/testercpp09
- Owner: bastienkody
- Created: 2023-12-16T16:18:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-14T15:49:37.000Z (6 months ago)
- Last Synced: 2024-09-29T23:23:58.007Z (about 2 months ago)
- Topics: 42school, cpp, cpp98, testing-tools
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WHAT IS THIS
__Ecole 42 cpp09 tester__
[ ON CONSTRUCTION ] --> in december 2023 : only ex00 + ex01 available
[ DISCLAIMER ] : it only prints the test and launch it : it's UP TO YOU to eyecheck if the program output match the test.## EX00 BitcoinExchange
* Makefile flags and relink
* bad input.txt format tester (name, date, value overflow etc)
* no tests that modify the database (btc price cotation)## EX01 Reverse Polish Notation
* Makefile flags and relink
* parsing tester (space parsing, bad: nb, order, operator, number of nb or operator)
* space parsing choices is up to you (only one or multiple, leading one, tabs)
* value calculation tests (expected results written for each test)# INSTALL
clone inside your cpp09 : `cd cpp09 && git clone [email protected]:bastienkody/testercpp09.git`### EX00
copy tester_cpp09ex00btc.sh in ex00/ : `cp testercpp09/tester_cpp09ex00btc.sh ./ex00`
launch : `cd ex00 && ./tester_cpp09ex00btc.sh`
Quick look on all inputs.txt : `cat ../testercpp09/inputstxt/*`
Quick look on specific test X : `cat ../testercpp09/inputstxt/inputsX.txt`### EX01
copy the tester_cpp09ex01rpn.sh in ex01/ : `cp testercpp09/tester_cpp09ex01rpn.sh ./ex01`
launch : `cd ex01 && ./tester_cpp09ex01rpn.sh`# REQUIREMENTS
bash
expected files in cpp09/ex00 : Makefile, main.cpp, BitcoinExchange.{cpp, hpp}
expected files in cpp09/ex01 : Makefile, main.cpp, RPN.{cpp, hpp}