mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-18 13:01:08 +01:00
added commandline and stdin tests using testscript
This commit is contained in:
13
t/stdin-use-vars.txtar
Normal file
13
t/stdin-use-vars.txtar
Normal file
@@ -0,0 +1,13 @@
|
||||
stdin input.txt
|
||||
exec testrpn
|
||||
stdout '28\n'
|
||||
|
||||
-- input.txt --
|
||||
10
|
||||
10
|
||||
+
|
||||
>SUM
|
||||
clear
|
||||
8
|
||||
<SUM
|
||||
+
|
||||
Reference in New Issue
Block a user