From a764086b6200d5bb482da2dd9a623c703bab1428 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 6 Dec 2012 20:25:09 +0100 Subject: Add selftests for get_lower/upper_bound(). --- tests/Kbounds | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tests/Kbounds (limited to 'tests') diff --git a/tests/Kbounds b/tests/Kbounds new file mode 100644 index 0000000..9713474 --- /dev/null +++ b/tests/Kbounds @@ -0,0 +1,49 @@ +config MODULES + def_bool y + +config Y_VISIBLE_BOOL + bool "y-visible bool" + +config Y_VISIBLE_TRISTATE + tristate "y-visible tristate" + +config M_VISIBLE_BOOL + bool "m-visible bool" if m + +config M_VISIBLE_TRISTATE + tristate "m-visible tristate" if m + +config Y_SELECTOR + def_tristate y + select Y_SELECTED_BOOL + select Y_SELECTED_TRISTATE + +config M_SELECTOR + def_tristate m + select M_SELECTED_BOOL + select M_SELECTED_TRISTATE + select M_SELECTED_M_VISIBLE_TRISTATE + +config Y_SELECTED_BOOL + bool "y-selected bool" + +config Y_SELECTED_TRISTATE + tristate "y-selected tristate" + +config M_SELECTED_BOOL + bool "m-selected bool" + +config M_SELECTED_TRISTATE + tristate "m-selected tristate" + +config M_SELECTED_M_VISIBLE_TRISTATE + tristate "m-selected m-visible tristate" if m + +config STRING + string "string" + +config INT + int "int" + +config HEX + hex "hex" -- cgit v1.2.3