Home
last modified time | relevance | path

Searched refs:test_fun (Results 1 – 25 of 124) sorted by relevance

12345

/dports/math/py-pysmt/pysmt-0.9.0/pysmt/test/
H A D__init__.py75 def __call__(self, test_fun): argument
79 @wraps(test_fun)
81 return test_fun(*args, **kwargs)
90 def __call__(self, test_fun): argument
94 @wraps(test_fun)
106 def __call__(self, test_fun): argument
110 @wraps(test_fun)
122 def __call__(self, test_fun): argument
126 @wraps(test_fun)
138 def __call__(self, test_fun): argument
[all …]
/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/3.x/
H A Dfunction_introspection.chai24 def int::test_fun()
29 assert_equal(test_fun.get_arity(), 1);
30 assert_equal(test_fun.get_contained_functions.size(), 1);
31 assert_equal(test_fun.get_param_types().size(), 2);
32 assert_equal(test_fun, test_fun);
33 var test_fun_types = test_fun.get_param_types();
/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/
H A Dfunction_introspection.chai24 def int::test_fun()
29 assert_equal(test_fun.get_arity(), 1);
30 assert_equal(test_fun.get_contained_functions.size(), 1);
31 assert_equal(test_fun.get_param_types().size(), 2);
32 assert_equal(test_fun, test_fun);
33 auto test_fun_types = test_fun.get_param_types();
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/small_SUITE_data/src/
H A Dcommon_eunit.erl28 -type test_fun() :: fun((config()) -> test_rep()). type
31 -spec expand_cases(atom(), test_name() | [test_name()]) -> test_fun().
40 -spec expand_case(atom(), test_name()) -> test_fun().
54 -spec control_wrapper([control()], test_fun()) -> test_fun().
80 -spec setup_wrapper(atom(), test_fun(), Callback, Callback) -> test_fun()
/dports/databases/couchdb3/apache-couchdb-3.2.1/test/elixir/test/
H A Djwtauth_test.exs23 run_on_modified_server(server_config, fn -> test_fun("HS256", secret) end)
24 run_on_modified_server(server_config, fn -> test_fun("HS384", secret) end)
25 run_on_modified_server(server_config, fn -> test_fun("HS512", secret) end)
62 run_on_modified_server(server_config, fn -> test_fun("RS256", private_key) end)
63 run_on_modified_server(server_config, fn -> test_fun("RS384", private_key) end)
64 run_on_modified_server(server_config, fn -> test_fun("RS512", private_key) end)
100 run_on_modified_server(server_config, fn -> test_fun("ES256", private_key) end)
101 run_on_modified_server(server_config, fn -> test_fun("ES384", private_key) end)
102 run_on_modified_server(server_config, fn -> test_fun("ES512", private_key) end)
105 def test_fun(alg, key) do function
/dports/graphics/R-cran-ggplot2/ggplot2/tests/testthat/
H A Dtest-utilities.r34 test_fun <- function(arg1, arg2 = FALSE, ...) { function
38 expect_false("arg1" %in% names(test_fun()))
40 expect_false("..." %in% names(test_fun()))
42 expect_true(all(c("arg1", "arg2", "arg3") %in% names(test_fun(arg1 = 1, arg2 = 1, arg3 = 1))))
44 expect_true(test_fun(arg2 = TRUE)$arg2)
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/scripts/pyprepro/test_files/
H A Dinline_comparison_and_assignment_colons.inp10 def test_fun(txt):
14 {test_fun('a')} #atested
15 {test_fun('=}')} # =}tested
/dports/lang/spidermonkey60/firefox-60.9.0/servo/python/tidy/servo_tidy_tests/
H A Drust_tidy.rs27 fn test_fun(y:f32)->f32{ in test_fun() method
58 test_fun( x); in test_fun3()
59 test_fun (y); in test_fun3()
/dports/devel/libbpfjit/bpfjit-38b515b/benchmark/
H A Dbenchmark.c46 test_fun(bpfjit_func_t fun, const uint8_t *pkt,
101 test_fun(bpfjit_func_t fun, const uint8_t *pkt, in test_fun() function
119 test_fun(&filter_pkt, pkt, pktsize, counter, dummy, "C code"); in test_c()
130 test_fun(code, pkt, pktsize, counter, dummy, "bpfjit code"); in test_bpfjit()
/dports/devel/py-oletools/oletools-0.54.2/tests/oleobj/
H A Dtest_basic.py121 def do_test_md5(self, args, test_fun=None, only_run_every=1): argument
131 if test_fun is None:
135 ret_val = test_fun(args_with_path)
156 return self.do_test_md5(['-d', self.temp_dir], test_fun=preread_file,
/dports/lang/rust/rustc-1.58.1-src/library/stdarch/crates/core_arch/src/aarch64/
H A Dtest_support.rs52 test_fun: fn(V, V) -> W, in test()
67 let actual_pre: W = test_fun(a, b); in test()
83 pub(crate) fn $n(test_fun: fn($v, $v) -> $w, verify_fun: fn($t, $t) -> $u) {
85 test::<$t, $u, $v, $w, $x>($vals, $fill1, $fill2, $cast, test_fun, verify_fun)
/dports/math/scilab/scilab-6.1.1/scilab/modules/helptools/tests/nonreg_tests/
H A Dbug_7133.tst31 "[z] = test_fun(1, 2) // examples of use"
35 "// in the demo file test_fun.dem.sce generated by help_from_sci."
111 "<programlisting>z = test_fun(x, y)</programlisting>"
128 "[z] = test_fun(1, 2) // examples of use"
131 "// in the demo file test_fun.dem.sce generated by help_from_sci."
H A Dbug_7133.dia.ref30 "[z] = test_fun(1, 2) // examples of use"
34 "// in the demo file test_fun.dem.sce generated by help_from_sci."
109 "<programlisting>z = test_fun(x, y)</programlisting>"
126 "[z] = test_fun(1, 2) // examples of use"
129 "// in the demo file test_fun.dem.sce generated by help_from_sci."
/dports/devel/py-pycparser/pycparser-2.21/tests/
H A Dtest_c_generator.py499 test_fun = c_ast.FuncCall(c_ast.ID('test_fun'), c_ast.ExprList([]))
504 self.assertEqual(generator.visit(c_ast.Cast(int_ptr_type, test_fun)),
506 self.assertEqual(generator.visit(c_ast.Cast(int_type, test_fun)),
512 test_fun = c_ast.FuncCall(c_ast.ID('test_fun'), c_ast.ExprList([]))
519 self.assertEqual(generator.visit(c_ast.Cast(void_ptr_type, test_fun)),
521 self.assertEqual(generator.visit(c_ast.Cast(void_type, test_fun)),
/dports/devel/boost-docs/boost_1_72_0/libs/core/test/
H A Dignore_unused_test.cpp9 BOOST_CXX14_CONSTEXPR int test_fun(int a) in test_fun() function
70 BOOST_CXX14_CONSTEXPR const int a = test_fun(0); in main()
/dports/devel/boost-python-libs/boost_1_72_0/libs/core/test/
H A Dignore_unused_test.cpp9 BOOST_CXX14_CONSTEXPR int test_fun(int a) in test_fun() function
70 BOOST_CXX14_CONSTEXPR const int a = test_fun(0); in main()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/core/test/
H A Dignore_unused_test.cpp9 BOOST_CXX14_CONSTEXPR int test_fun(int a) in test_fun() function
70 BOOST_CXX14_CONSTEXPR const int a = test_fun(0); in main()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/core/test/
H A Dignore_unused_test.cpp9 BOOST_CXX14_CONSTEXPR int test_fun(int a) in test_fun() function
70 BOOST_CXX14_CONSTEXPR const int a = test_fun(0); in main()
/dports/databases/percona57-server/boost_1_59_0/libs/core/test/
H A Dignore_unused_test.cpp9 BOOST_CXX14_CONSTEXPR int test_fun(int a) in test_fun() function
70 BOOST_CXX14_CONSTEXPR const int a = test_fun(0); in main()

12345