mirror of
https://github.com/louisrubet/rpn
synced 2025-01-13 20:01:25 +01:00
#135: udpate to v2.2
This commit is contained in:
parent
2a46dc0e78
commit
4bc33791d8
2 changed files with 12 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
# **rpn** - generation
|
||||
# **rpn v2.2** - generation
|
||||
|
||||
For now rpn is proposed only for **GNU/Linux**
|
||||
|
||||
|
|
20
MANUAL.md
20
MANUAL.md
|
@ -274,20 +274,22 @@ Default rounding mode is 'nearest'
|
|||
|
||||
## Tests
|
||||
|
||||
Unit tests are given as txt files in the test subdirectory.
|
||||
Unit tests are given as txt files in the [test](https://github.com/louisrubet/rpn/tree/master/test) subdirectory.
|
||||
|
||||
Use the command 'test' to run a test file, eg
|
||||
Use the command 'test' to run a test files, eg
|
||||
```
|
||||
# cd src_directory/
|
||||
# cd <test_directory>/
|
||||
# rpn
|
||||
rpn> "test/01-all.txt"
|
||||
rpn> "all.txt"
|
||||
rpn> test
|
||||
## ENTRY TEST
|
||||
(...)
|
||||
# real decimal PASSED
|
||||
# real hex PASSED
|
||||
# real binary PASSED
|
||||
rpn> test
|
||||
|
||||
01-mode.txt: MODE
|
||||
# std (1) PASSED
|
||||
# std (2) PASSED
|
||||
# std (3) PASSED
|
||||
(...)
|
||||
Total: run 386 tests: 386 passed, 0 failed (495 steps: 495 passed, 0 failed)
|
||||
```
|
||||
|
||||
Test output is done on stdout and is not stacked in rpn.
|
||||
|
|
Loading…
Reference in a new issue