summaryrefslogtreecommitdiff
path: root/tigrou/who-am-i/who-am-i.tig
diff options
context:
space:
mode:
Diffstat (limited to 'tigrou/who-am-i/who-am-i.tig')
-rw-r--r--tigrou/who-am-i/who-am-i.tig18
1 files changed, 18 insertions, 0 deletions
diff --git a/tigrou/who-am-i/who-am-i.tig b/tigrou/who-am-i/who-am-i.tig
new file mode 100644
index 0000000..0dbb646
--- /dev/null
+++ b/tigrou/who-am-i/who-am-i.tig
@@ -0,0 +1,18 @@
+let
+ import "who-am-i.tih"
+in
+ print("Expected : TIGROS\ngot : ");
+ who_am_i(2);
+ print("\n");
+
+ print("Expected : TIGROU\ngot : ");
+ who_am_i(3);
+ print("\n");
+
+ print("Expected : TIGROU\ngot : ");
+ who_am_i(5);
+ print("\n");
+
+ print("Expected : TIGER\ngot : ");
+ who_am_i(42)
+end