From 135e40c12e99f97b667bdd561192ea44dd4ebd9e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 10 Dec 2014 00:22:26 +0100 Subject: mds-kbdc: compile-layout: m + more test cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .../invalid/invalid_call_to_builtin_function | 3 +++ .../invalid/invalid_calls_to_set_3_and_get_2 | 24 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/invalid/invalid_call_to_builtin_function create mode 100644 test-files/mds-kbdc/compile-layout/invalid/invalid_calls_to_set_3_and_get_2 (limited to 'test-files/mds-kbdc/compile-layout/invalid') diff --git a/test-files/mds-kbdc/compile-layout/invalid/invalid_call_to_builtin_function b/test-files/mds-kbdc/compile-layout/invalid/invalid_call_to_builtin_function new file mode 100644 index 0000000..a3079e8 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/invalid_call_to_builtin_function @@ -0,0 +1,3 @@ +"" : "\add("" 1)" +"" : "\sub(1 "")" + diff --git a/test-files/mds-kbdc/compile-layout/invalid/invalid_calls_to_set_3_and_get_2 b/test-files/mds-kbdc/compile-layout/invalid/invalid_calls_to_set_3_and_get_2 new file mode 100644 index 0000000..c5cedc6 --- /dev/null +++ b/test-files/mds-kbdc/compile-layout/invalid/invalid_calls_to_set_3_and_get_2 @@ -0,0 +1,24 @@ +let \2 : "" +let \3 : {} +let \4 : { "0" } +"" : "\set(0 0 0)" +"" : "\get(0 0)" +"" : "\set(1 0 0)" +"" : "\get(1 0)" +"" : "\set(2 0 0)" +"" : "\get(2 0)" +"" : "\set(3 0 0)" +"" : "\get(3 0)" +"" : "\set(4 1 0)" +"" : "\get(4 1)" +"" : "\set("" 0 0)" +"" : "\get("" 0)" +"" : "\set("a" 0 0)" +"" : "\get("a" 0)" +"" : "\set("aa" 0 0)" +"" : "\get("aa" 0)" +"" : "\set(1 "" 0)" +"" : "\get(1 "")" +"" : "\set(1 "aa" 0)" +"" : "\get(1 "aa")" + -- cgit v1.2.3-70-g09d2