summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'data/tests/user_inputs.fate')
-rw-r--r--data/tests/user_inputs.fate14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/tests/user_inputs.fate b/data/tests/user_inputs.fate
new file mode 100644
index 0000000..d238c7f
--- /dev/null
+++ b/data/tests/user_inputs.fate
@@ -0,0 +1,14 @@
+(fate_version 1)
+
+(local int i)
+
+(prompt_integer i 0 100 How likely is this test to fail?)
+Did you say (var i)? That sounds
+(ifelse (=< (var i) 50) ( unreasable ) ( very reasonable indeed)).
+
+(local string name)
+(prompt_string name 0 64 Oh, and what's your name?)
+
+I see, (var name), you might be on to something there...
+
+(end)