/third_party/boost/libs/yap/test/ |
D | depth_stress_test_right.cpp | 22 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 …]
|
D | depth_stress_test_left.cpp | 22 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 …]
|
D | compile_term_plus_term.cpp | 27 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 …]
|
D | compile_term_plus_x_this_ref_overloads.cpp | 27 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 …]
|
D | compile_term_plus_x.cpp | 27 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 …]
|
D | compile_x_plus_term.cpp | 27 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 …]
|
D | compile_term_plus_expr.cpp | 23 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 …]
|
D | print.cpp | 155 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 …]
|
D | left.cpp | 43 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 …]
|
/third_party/cJSON/tests/unity/docs/ |
D | UnityGettingStartedGuide.md | 1 # Unity - Getting Started 9 Unity is a unit test framework. The goal has been to keep it small and 10 functional. The core Unity test framework is three files: a single C file and a 14 Unity was designed to be cross platform. It works hard to stick with C standards 16 rules. Unity has been used with many compilers, including GCC, IAR, Clang, 23 #### Unity Assertions reference 26 Unity. This is going to be your unit testing bread and butter. You'll spend more 27 time with assertions than any other part of Unity. 30 #### Unity Assertions Cheat Sheet 34 familiarize yourself with Unity's options. [all …]
|
D | UnityConfigurationGuide.md | 1 # Unity Configuration Guide 11 Unity is designed to run on almost anything that is targeted by a C compiler. It 17 All of Unity's configuration options are `#defines`. Most of these are simple 40 Unity will rely on `unity_config.h` for any further definitions it may need. 53 certainly not every compiler you are likely to encounter. Therefore, Unity has a 60 The first thing that Unity does to guess your types is check `stdint.h`. 61 This file includes defines like `UINT_MAX` that Unity can make use of to 65 That way, Unity will know to skip the inclusion of this file and you won't 76 want Unity to check this file either, define this to make it skip the inclusion. 121 Unity will automatically include 64-bit support if it auto-detects it, or if [all …]
|
D | UnityAssertionsReference.md | 1 # Unity Assertions Reference 9 - Unity is mainly a rich collection of assertions and the support to gather up 11 - The structure of Unity allows you to easily separate test assertions from 13 - Unity's assertions: 20 ### Unity Is Several Things But Mainly It's Assertions 22 One way to think of Unity is simply as a rich collection of assertions you can 24 Unity provides a framework to easily organize and execute those assertions in 45 code in the way Unity facilitates. 48 ### Unity's Assertions: Helpful Messages _and_ Free Source Code Documentation 55 That's what Unity's collection of assertions do - capture context to give you [all …]
|
/third_party/unity/docs/ |
D | UnityGettingStartedGuide.md | 1 # Unity - Getting Started 9 Unity is a unit test framework. The goal has been to keep it small and 10 functional. The core Unity test framework is three files: a single C file and a 14 Unity was designed to be cross-platform. It works hard to stick with C standards 16 rules. Unity has been used with many compilers, including GCC, IAR, Clang, 23 #### Unity Assertions reference 26 Unity. This is going to be your unit testing bread and butter. You'll spend more 27 time with assertions than any other part of Unity. 30 #### Unity Assertions Cheat Sheet 34 familiarize yourself with Unity's options. [all …]
|
D | UnityConfigurationGuide.md | 1 # Unity Configuration Guide 11 Unity is designed to run on almost anything that is targeted by a C compiler. It 17 All of Unity's configuration options are `#defines`. Most of these are simple 40 Unity will rely on `unity_config.h` for any further definitions it may need. 43 test itself. These defines need to take effect where ever unity.h is included. 45 unity.c when it's compiled. 57 certainly not every compiler you are likely to encounter. Therefore, Unity has a 64 The first thing that Unity does to guess your types is check `stdint.h`. 65 This file includes defines like `UINT_MAX` that Unity can use to 69 That way, Unity will know to skip the inclusion of this file and you won't [all …]
|
/third_party/cJSON/tests/unity/test/tests/ |
D | testparameterized.c | 2 Unity Project - A Test Framework for C 9 #include "unity.h" 21 Unity.CurrentTestFailed = (Unity.CurrentTestFailed != 0) ? 0 : 1; \ 22 if (Unity.CurrentTestFailed == 1) { \ 24 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ 26 UnityPrint(Unity.CurrentTestName); \ 33 Unity.CurrentTestFailed = (Unity.CurrentTestIgnored != 0) ? 0 : 1; \ 34 Unity.CurrentTestIgnored = 0; \ 35 if (Unity.CurrentTestFailed == 1) { \ 37 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ [all …]
|
/third_party/unity/test/ |
D | Makefile | 25 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 …]
|
/third_party/cJSON/tests/ |
D | CMakeLists.txt | 2 add_library(unity STATIC unity/src/unity.c) target 4 # Disable -Werror for Unity 9 target_compile_options(unity PRIVATE "-Wno-error") 12 # Disable -fvisibility=hidden for Unity 17 target_compile_options(unity PRIVATE "-fvisibility=default") 20 …# Disable -fsanitize=float-divide-by-zero for Unity (GCC bug on x86 https://gcc.gnu.org/bugzilla/s… 25 target_compile_options(unity PRIVATE "-fno-sanitize=float-divide-by-zero") 28 # Disable -Wswitch-enum for Unity 33 target_compile_options(unity PRIVATE "-Wno-switch-enum") 79 target_link_libraries("${unity_test}" "${CJSON_LIB}" unity) [all …]
|
/third_party/unity/test/tests/ |
D | testparameterized.c | 2 Unity Project - A Test Framework for C 9 #include "unity.h" 24 Unity.CurrentTestFailed = (Unity.CurrentTestFailed != 0) ? 0 : 1; \ 25 if (Unity.CurrentTestFailed == 1) { \ 27 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ 29 UnityPrint(Unity.CurrentTestName); \ 36 Unity.CurrentTestFailed = (Unity.CurrentTestIgnored != 0) ? 0 : 1; \ 37 Unity.CurrentTestIgnored = 0; \ 38 if (Unity.CurrentTestFailed == 1) { \ 40 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ [all …]
|
D | test_unity_parameterized.c | 2 Unity Project - A Test Framework for C 9 #include "unity.h" 24 Unity.CurrentTestFailed = (Unity.CurrentTestFailed != 0) ? 0 : 1; \ 25 if (Unity.CurrentTestFailed == 1) { \ 27 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ 29 UnityPrint(Unity.CurrentTestName); \ 36 Unity.CurrentTestFailed = (Unity.CurrentTestIgnored != 0) ? 0 : 1; \ 37 Unity.CurrentTestIgnored = 0; \ 38 if (Unity.CurrentTestFailed == 1) { \ 40 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ [all …]
|
D | self_assessment_utils.h | 26 Unity.CurrentTestFailed = (Unity.CurrentTestFailed == 1) ? 0 : 1; \ 27 if (Unity.CurrentTestFailed == 1) { \ 29 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ 31 UnityPrint(Unity.CurrentTestName); \ 39 Unity.CurrentTestFailed = (Unity.CurrentTestIgnored == 1) ? 0 : 1; \ 40 Unity.CurrentTestIgnored = 0; \ 41 if (Unity.CurrentTestFailed == 1) { \ 43 UnityPrintNumberUnsigned(Unity.CurrentTestLineNumber); \ 45 UnityPrint(Unity.CurrentTestName); \
|
/third_party/unity/extras/fixture/src/ |
D | unity_fixture.c | 1 /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 3 * Unity Project - A Test Framework for C 23 UnityPrint("Unity test run "); in announceTestRun() 46 return (int)Unity.TestFailures; in UnityMain() 77 Unity.TestFile = file; in UnityTestRunner() 78 Unity.CurrentTestName = printableName; in UnityTestRunner() 79 Unity.CurrentTestLineNumber = line; in UnityTestRunner() 84 Unity.CurrentTestName = NULL; in UnityTestRunner() 96 Unity.NumberOfTests++; in UnityTestRunner() 122 Unity.NumberOfTests++; in UnityIgnoreTest() [all …]
|
/third_party/cJSON/tests/unity/extras/fixture/src/ |
D | unity_fixture.c | 1 /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 3 * Unity Project - A Test Framework for C 25 UnityPrint("Unity test run "); in announceTestRun() 48 return (int)Unity.TestFailures; in UnityMain() 79 Unity.TestFile = file; in UnityTestRunner() 80 Unity.CurrentTestName = printableName; in UnityTestRunner() 81 Unity.CurrentTestLineNumber = line; in UnityTestRunner() 88 Unity.CurrentTestName = NULL; in UnityTestRunner() 92 Unity.NumberOfTests++; in UnityTestRunner() 108 if (!Unity.CurrentTestFailed) in UnityTestRunner() [all …]
|
/third_party/unity/examples/ |
D | unity_config.h | 1 /* Unity Configuration 2 * As of May 11th, 2016 at ThrowTheSwitch/Unity commit 837c529 4 * See Also: Unity/docs/UnityConfigurationGuide.pdf 6 * Unity is designed to run on almost anything that is targeted by a C compiler. 12 * All of Unity's configuration options are `#defines`. Most of these are simple 33 * `UNITY_INCLUDE_CONFIG_H` and Unity will rely on `unity_config.h` for any 47 * encounter. Therefore, Unity has a number of features for helping to adjust 54 * want Unity to check this file, define this to make it skip the inclusion. 55 * Unity looks at UINT_MAX & ULONG_MAX, which were available since C89. 59 /* The second thing that Unity does to guess your types is check `stdint.h`. [all …]
|
/third_party/cJSON/tests/unity/examples/ |
D | unity_config.h | 1 /* Unity Configuration 2 * As of May 11th, 2016 at ThrowTheSwitch/Unity commit 837c529 4 * See Also: Unity/docs/UnityConfigurationGuide.pdf 6 * Unity is designed to run on almost anything that is targeted by a C compiler. 12 * All of Unity's configuration options are `#defines`. Most of these are simple 33 * `UNITY_INCLUDE_CONFIG_H` and Unity will rely on `unity_config.h` for any 47 * encounter. Therefore, Unity has a number of features for helping to adjust 54 * want Unity to check this file, define this to make it skip the inclusion. 55 * Unity looks at UINT_MAX & ULONG_MAX, which were available since C89. 59 /* The second thing that Unity does to guess your types is check `stdint.h`. [all …]
|
/third_party/grpc/examples/csharp/HelloworldUnity/ |
D | README.md | 1 gRPC C# on Unity 6 Support of the Unity platform is currently experimental. 11 - Unity 2018.3.5f1 16 - Follow instructions in https://github.com/grpc/grpc/tree/master/src/csharp/experimental#unity to … 17 that contains gRPC C# for Unity. Unzip it under `Assets/Plugins` directory. 18 - Open the `HelloworldUnity.sln` in Unity Editor. 19 - Build using Unity Editor.
|