aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-09-25 09:58:38 +0200
committerRenaud G <renaud@rolisteam.org>2016-09-25 09:58:38 +0200
commit48d672116d58e44159de3bbd5f1366b16fb7f704 (patch)
tree23b3f1f6d854829c83d526c059937b42b8d7089d /cli
parent2058e830c7a8459e65917cb8b00e282c2ec68234 (diff)
downloadOneRoll-48d672116d58e44159de3bbd5f1366b16fb7f704.tar.gz
OneRoll-48d672116d58e44159de3bbd5f1366b16fb7f704.zip
add script to test many
Diffstat (limited to 'cli')
-rw-r--r--cli/cmds.txt47
-rwxr-xr-xcli/test_dice.sh8
2 files changed, 55 insertions, 0 deletions
diff --git a/cli/cmds.txt b/cli/cmds.txt
new file mode 100644
index 0000000..dfa4b26
--- /dev/null
+++ b/cli/cmds.txt
@@ -0,0 +1,47 @@
+1L[cheminée,chocolat,épée,arc,chute_de_pierre]
+10d10c[>=6]-@c[=1]
+10d10c[>=6]-@c[=1]-@c[=1]
+10d10c[>6]+@c[=10]
+1+1D10
+3d10c[>=5]
+3nwod
+1+(4*3)D10
+2+4/4
+2D10*2D20*8
+1+(4*3)D10
+(4D6)D10
+1D100a[>=95]a[>=96]a[>=97]a[>=98]a[>=99]e[>=100]
+3D100
+4k3
+10D10e[>=6]sc[>=6]
+10D10e10s
+10D10s
+15D10e10c[8-10]
+10d10e11
+1D8+2D6+7
+D25
+1L[tete[10],ventre[50],jambe[40]]
+2d6c[%2=0]
+D25+D10
+D25;D10
+8+8+8
+1D20-88
+100*1D20*2D6
+100/28*3
+100/8
+100*3*8
+help
+la
+10D10c[<2|>7]
+1L[tete,bras_droit,bras_gauche,jambe_droite,jambe_gauche,ventre[6-7],buste[8-10]]
+10D6c[=2|=4|=6]
+10D10e[=1|=10]k4
+10+10s
+1d6e6;1d4e4mk1
+1d6e6;1d4e4mk1
+1d100e[>=95]i[<5]{-1d100e95}
+100*3*8
+1d100i[<70]{1d10i[=10]{1d100i[<70]{1d10e10}}}
+10d[-8--1]
+4d6p[4:black]c[>=4]+1d6p[1:white]c6-@c1+1d6p[1:red]c[>=4]+@c6-@c1
+10d[0-9]
diff --git a/cli/test_dice.sh b/cli/test_dice.sh
new file mode 100755
index 0000000..bd20b6a
--- /dev/null
+++ b/cli/test_dice.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+export LD_LIBRARY_PATH="/home/renaud/application/other/Qt/5.7/gcc_64/lib:$LD_LIBRARY_PATH"
+for line in `cat cmds.txt`
+do
+ #echo $line;
+ dice $line
+done