Home
last modified time | relevance | path

Searched refs:unity (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/boost/libs/yap/test/
Ddepth_stress_test_right.cpp22 term<double> unity{1.0}; in test_main() local
26 unity + unity + unity + unity + unity + unity + unity + unity; in test_main()
33 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
34 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
35 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
36 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
38 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
39 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
40 unity + unity + unity + unity + unity + unity + unity + unity + in test_main()
41 unity + unity + unity + unity + unity + unity + unity + unity; in test_main()
[all …]
Ddepth_stress_test_left.cpp22 term<double> unity{1.0}; in test_main() local
25 auto expr = (unity + (unity + (unity + (unity + (unity + (unity + (unity + unity))))))); in test_main()
32 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
33 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
34 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
35 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
37 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
38 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
39 (unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity + in test_main()
40 …(unity + (unity + (unity + (unity + (unity + (unity + (unity + (unity))))))))))))))))))))))))))… in test_main()
[all …]
Dcompile_term_plus_term.cpp27 term<double> unity{1.0}; in compile_term_plus_term() local
31 unevaluated_expr = unity + term<char const *>{"3"}; in compile_term_plus_term()
37 term<double> unity{1.0}; in compile_term_plus_term() local
41 unevaluated_expr = unity + term<std::string>{"3"s}; in compile_term_plus_term()
47 term<double> unity{1.0}; in compile_term_plus_term() local
53 unevaluated_expr = unity + ints; in compile_term_plus_term()
58 term<double> unity{1.0}; in compile_term_plus_term() local
64 unevaluated_expr = unity + ints; in compile_term_plus_term()
69 term<double> unity{1.0}; in compile_term_plus_term() local
75 unevaluated_expr = unity + std::move(ints); in compile_term_plus_term()
[all …]
Dcompile_term_plus_x_this_ref_overloads.cpp27 term<double> unity{1.0}; in compile_term_plus_x_this_ref_overloads() local
31 unevaluated_expr = unity + "3"; in compile_term_plus_x_this_ref_overloads()
37 term<double> unity{1.0}; in compile_term_plus_x_this_ref_overloads() local
41 unevaluated_expr = unity + "3"s; in compile_term_plus_x_this_ref_overloads()
47 term<double> unity{1.0}; in compile_term_plus_x_this_ref_overloads() local
52 unevaluated_expr = unity + ints; in compile_term_plus_x_this_ref_overloads()
57 term<double> unity{1.0}; in compile_term_plus_x_this_ref_overloads() local
62 unevaluated_expr = unity + ints; in compile_term_plus_x_this_ref_overloads()
67 term<double> unity{1.0}; in compile_term_plus_x_this_ref_overloads() local
72 unevaluated_expr = unity + std::move(ints); in compile_term_plus_x_this_ref_overloads()
[all …]
Dcompile_term_plus_x.cpp27 term<double> unity{1.0}; in compile_term_plus_x() local
31 unevaluated_expr = unity + "3"; in compile_term_plus_x()
37 term<double> unity{1.0}; in compile_term_plus_x() local
41 unevaluated_expr = unity + "3"s; in compile_term_plus_x()
47 term<double> unity{1.0}; in compile_term_plus_x() local
52 unevaluated_expr = unity + ints; in compile_term_plus_x()
57 term<double> unity{1.0}; in compile_term_plus_x() local
62 unevaluated_expr = unity + ints; in compile_term_plus_x()
67 term<double> unity{1.0}; in compile_term_plus_x() local
72 unevaluated_expr = unity + std::move(ints); in compile_term_plus_x()
[all …]
Dcompile_x_plus_term.cpp27 term<double> unity{1.0}; in compile_x_plus_term() local
31 unevaluated_expr = "3" + unity; in compile_x_plus_term()
37 term<double> const unity{1.0}; in compile_x_plus_term() local
41 unevaluated_expr = "3"s + unity; in compile_x_plus_term()
47 term<double> unity{1.0}; in compile_x_plus_term() local
52 unevaluated_expr = ints + unity; in compile_x_plus_term()
57 term<double> unity{1.0}; in compile_x_plus_term() local
62 unevaluated_expr = ints + unity; in compile_x_plus_term()
67 term<double> unity{1.0}; in compile_x_plus_term() local
72 unevaluated_expr = std::move(ints) + unity; in compile_x_plus_term()
[all …]
Dcompile_term_plus_expr.cpp23 term<double> unity{1.0}; in compile_term_plus_expr() local
28 expr = unity + i; in compile_term_plus_expr()
36 unevaluated_expr = unity + expr; in compile_term_plus_expr()
41 term<double> unity{1.0}; in compile_term_plus_expr() local
46 expr = unity + i; in compile_term_plus_expr()
54 unevaluated_expr = unity + expr; in compile_term_plus_expr()
59 term<double> unity{1.0}; in compile_term_plus_expr() local
64 expr = unity + std::move(i); in compile_term_plus_expr()
72 unevaluated_expr = unity + expr; in compile_term_plus_expr()
78 term<double> unity{1.0}; in compile_term_plus_expr() local
[all …]
Dprint.cpp155 user_term<double> unity{1.0}; in test_main() local
161 expr = unity + std::move(i); in test_main()
171 unevaluated_expr = unity + std::move(expr); in test_main()
175 yap::print(oss, unity); in test_main()
215 nonconst_plus_const = unity + const_unity; in test_main()
226 auto nonconst_plus_nonconst_plus_const = unity + nonconst_plus_const; in test_main()
241 unity + const_nonconst_plus_const; in test_main()
256 term<double> unity{1.0}; in test_main() local
262 expr = unity + std::move(i); in test_main()
270 unevaluated_expr = unity + std::move(expr); in test_main()
[all …]
Dleft.cpp43 term<double> unity = {{1.0}}; in test_main() local
49 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
56 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
63 plus_expr_type const plus_expr = unity + term<int>{{1}}; in test_main()
70 term<double> const unity = {{1.0}}; in test_main() local
76 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
83 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
90 plus_expr_type const plus_expr = unity + term<int>{{1}}; in test_main()
98 term<double> unity = {{1.0}}; in test_main() local
102 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
[all …]
Dcompile_const_term.cpp22 term<double const> unity{1.0}; in compile_const_term() local
28 expr = unity + std::move(i); in compile_const_term()
36 unevaluated_expr = unity + std::move(expr); in compile_const_term()
41 term<double> const unity{1.0}; in compile_const_term() local
47 expr = unity + std::move(i); in compile_const_term()
55 unevaluated_expr = unity + std::move(expr); in compile_const_term()
60 term<double> unity{1.0}; in compile_const_term() local
66 unity + std::move(i); in compile_const_term()
74 unevaluated_expr = unity + std::move(expr); in compile_const_term()
Dright.cpp43 term<double> unity = {{1.0}}; in test_main() local
49 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
56 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
62 plus_expr_type const plus_expr = unity + term<int>{{1}}; in test_main()
69 term<double> unity = {{1.0}}; in test_main() local
73 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
109 term<double> unity = {{1.0}}; in test_main() local
113 plus_expr_type const plus_expr = unity + term<int>{{1}}; in test_main()
150 user_term<double> unity = {{1.0}}; in test_main() local
156 plus_expr_type plus_expr = unity + user_term<int>{{1}}; in test_main()
[all …]
Ddefault_eval.cpp24 term<double> unity{1.0}; in test_main() local
30 expr = unity - std::move(i); in test_main()
38 unevaluated_expr_1 = unity + std::move(expr); in test_main()
43 unevaluated_expr_2 = unity + unity; in test_main()
49 unevaluated_expr_3 = unity + const_unity; in test_main()
52 double result = evaluate(unity); in test_main()
77 double result = evaluate(unity, 5, 6, 7); in test_main()
Dderef.cpp43 term<double> unity = {{1.0}}; in test_main() local
48 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
73 term<double> const unity = {{1.0}}; in test_main() local
77 plus_expr = unity + term<int>{{1}}; in test_main()
107 user_term<double> unity = {{1.0}}; in test_main() local
112 plus_expr_type plus_expr = unity + user_term<int>{{1}}; in test_main()
138 user_term<double> const unity = {{1.0}}; in test_main() local
142 plus_expr = unity + user_term<int>{{1}}; in test_main()
Dvalue.cpp83 term<double> unity = {{1.0}}; in test_main() local
87 plus_expr_type plus_expr = unity + term<int>{{1}}; in test_main()
106 term<double> const unity = {{1.0}}; in test_main() local
110 plus_expr = unity + term<int>{{1}}; in test_main()
154 user_term<double> unity = {{1.0}}; in test_main() local
158 plus_expr_type plus_expr = unity + user_term<int>{{1}}; in test_main()
177 user_term<double> const unity = {{1.0}}; in test_main() local
181 plus_expr = unity + user_term<int>{{1}}; in test_main()
Dcompile_move_only_types.cpp28 term<double> unity{1.0}; in compile_move_only_types() local
33 expr_1 = unity + std::move(i); in compile_move_only_types()
42 expr_2 = unity + std::move(expr_1); in compile_move_only_types()
Dreference_returns.cpp36 term<reference_returning::number> unity = {{1.0}}; in test_main() local
37 auto plus_expr = unity + reference_returning::number{1.0}; in test_main()
49 auto minus_expr = unity - reference_returning::number{1.0}; in test_main()
/third_party/unity/test/
DMakefile25 SRC1 = ../src/unity.c tests/test_unity_arrays.c build/test_unity_arraysRunner.c
26 SRC2 = ../src/unity.c tests/test_unity_core.c build/test_unity_coreRunner.c
27 SRC3 = ../src/unity.c tests/test_unity_doubles.c build/test_unity_doublesRunner.c
28 SRC4 = ../src/unity.c tests/test_unity_floats.c build/test_unity_floatsRunner.c
29 SRC5 = ../src/unity.c tests/test_unity_integers.c build/test_unity_integersRunner.c
30 SRC6 = ../src/unity.c tests/test_unity_integers_64.c build/test_unity_integers_64Runner.c
31 SRC7 = ../src/unity.c tests/test_unity_memory.c build/test_unity_memoryRunner.c
32 SRC8 = ../src/unity.c tests/test_unity_strings.c build/test_unity_stringsRunner.c
48 gcov unity.c | head -3
49 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
[all …]
Drakefile39 desc "Test unity with its own unit tests"
53 desc "Test unity's helper scripts"
60 desc "Test unity triggered from make"
65 desc "Test unity fixture addon"
70 desc "Test unity memory addon"
75 desc "Test unity examples"
/third_party/boost/libs/numeric/odeint/test_external/gmp/
Dcheck_gmp.cpp100 mpf_t eps_ , unity; in operator ()() local
101 mpf_init( eps_ ); mpf_init( unity ); in operator ()()
102 mpf_set_d( unity , 1.0 ); in operator ()()
103 …mpf_div_2exp( eps_ , unity , precision-1 ); // 2^(-precision+1) : smallest number that can be repr… in operator ()()
141 mpf_t eps_ , unity; in operator ()() local
142 mpf_init( eps_ ); mpf_init( unity ); in operator ()()
143 mpf_set_d( unity , 1.0 ); in operator ()()
144 …mpf_div_2exp( eps_ , unity , precision-1 ); // 2^(-precision+1) : smallest number that can be repr… in operator ()()
Dgmp_integrate.cpp97 mpf_t eps_ , unity; in operator ()() local
98 mpf_init( eps_ ); mpf_init( unity ); in operator ()()
99 mpf_set_d( unity , 1.0 ); in operator ()()
100 …mpf_div_2exp( eps_ , unity , precision-1 ); // 2^(-precision+1) : smallest number that can be repr… in operator ()()
146 mpf_t eps_ , unity; in operator ()() local
147 mpf_init( eps_ ); mpf_init( unity ); in operator ()()
148 mpf_set_d( unity , 1.0 ); in operator ()()
149 …mpf_div_2exp( eps_ , unity , precision-1 ); // 2^(-precision+1) : smallest number that can be repr… in operator ()()
/third_party/cJSON/tests/
DCMakeLists.txt2 add_library(unity STATIC unity/src/unity.c) target
9 target_compile_options(unity PRIVATE "-Wno-error")
17 target_compile_options(unity PRIVATE "-fvisibility=default")
25 target_compile_options(unity PRIVATE "-fno-sanitize=float-divide-by-zero")
33 target_compile_options(unity PRIVATE "-Wno-switch-enum")
79 target_link_libraries("${unity_test}" "${CJSON_LIB}" unity)
104 target_link_libraries("${cjson_utils_test}" "${CJSON_LIB}" "${CJSON_UTILS_LIB}" unity)
/third_party/grpc/tools/run_tests/artifacts/
Dpackage_targets.py77 def __init__(self, unity=False): argument
78 self.unity = unity
80 if unity:
91 if self.unity:
159 CSharpPackage(unity=True),
/third_party/cJSON/tests/unity/test/
DMakefile21 SRC = ../src/unity.c tests/testunity.c build/testunityRunner.c
38 gcov unity.c | head -3
39 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
46 UNITY_C_ONLY =-c ../src/unity.c -o $(BUILD_DIR)/unity.o
/third_party/unity/src/
DCMakeLists.txt14 add_library(unity STATIC "unity.c") target
16 install(TARGETS unity EXPORT unityConfig
/third_party/unity/
DCMakeLists.txt14 # Read src/unity.h file and get project version from it
15 set(UNITY_HEADER "src/unity.h")
38 project(unity project
69 src/unity.c
84 src/unity.h

1234