Lines Matching refs:ExpectBoolean
72 static void ExpectBoolean(const char* code, bool expected) { in ExpectBoolean() function
2928 ExpectBoolean("typeof undetectable == 'undefined'", true); in THREADED_TEST()
2929 ExpectBoolean("typeof undetectable == 'object'", false); in THREADED_TEST()
2930 ExpectBoolean("if (undetectable) { true; } else { false; }", false); in THREADED_TEST()
2931 ExpectBoolean("!undetectable", true); in THREADED_TEST()
2934 ExpectBoolean("false&&undetectable", false); in THREADED_TEST()
2935 ExpectBoolean("true||undetectable", true); in THREADED_TEST()
2940 ExpectBoolean("undetectable||true", true); in THREADED_TEST()
2941 ExpectBoolean("undetectable||false", false); in THREADED_TEST()
2943 ExpectBoolean("undetectable==null", true); in THREADED_TEST()
2944 ExpectBoolean("null==undetectable", true); in THREADED_TEST()
2945 ExpectBoolean("undetectable==undefined", true); in THREADED_TEST()
2946 ExpectBoolean("undefined==undetectable", true); in THREADED_TEST()
2947 ExpectBoolean("undetectable==undetectable", true); in THREADED_TEST()
2950 ExpectBoolean("undetectable===null", false); in THREADED_TEST()
2951 ExpectBoolean("null===undetectable", false); in THREADED_TEST()
2952 ExpectBoolean("undetectable===undefined", false); in THREADED_TEST()
2953 ExpectBoolean("undefined===undetectable", false); in THREADED_TEST()
2954 ExpectBoolean("undetectable===undetectable", true); in THREADED_TEST()
2968 ExpectBoolean("typeof undetectable == 'undefined'", true); in THREADED_TEST()
2969 ExpectBoolean("typeof undetectable == 'string'", false); in THREADED_TEST()
2970 ExpectBoolean("if (undetectable) { true; } else { false; }", false); in THREADED_TEST()
2971 ExpectBoolean("!undetectable", true); in THREADED_TEST()
2974 ExpectBoolean("false&&undetectable", false); in THREADED_TEST()
2975 ExpectBoolean("true||undetectable", true); in THREADED_TEST()
2980 ExpectBoolean("undetectable||true", true); in THREADED_TEST()
2981 ExpectBoolean("undetectable||false", false); in THREADED_TEST()
2983 ExpectBoolean("undetectable==null", true); in THREADED_TEST()
2984 ExpectBoolean("null==undetectable", true); in THREADED_TEST()
2985 ExpectBoolean("undetectable==undefined", true); in THREADED_TEST()
2986 ExpectBoolean("undefined==undetectable", true); in THREADED_TEST()
2987 ExpectBoolean("undetectable==undetectable", true); in THREADED_TEST()
2990 ExpectBoolean("undetectable===null", false); in THREADED_TEST()
2991 ExpectBoolean("null===undetectable", false); in THREADED_TEST()
2992 ExpectBoolean("undetectable===undefined", false); in THREADED_TEST()
2993 ExpectBoolean("undefined===undetectable", false); in THREADED_TEST()
2994 ExpectBoolean("undetectable===undetectable", true); in THREADED_TEST()