├── .gitignore ├── 2023_go_embed_for_migrations ├── docker-compose.yml ├── examples │ └── demo.gif ├── execution.tape ├── go.mod ├── go.sum ├── main.go └── migrations │ ├── 000001_create_examples_table.down.sql │ └── 000001_create_examples_table.up.sql ├── LICENSE ├── README.md ├── bash_2018_02_24 ├── format │ ├── binary_ops_and_switch_cases.sh │ └── mess.sh ├── lint │ └── errors.sh └── test │ ├── functions.sh │ └── test_functions.sh ├── boost_asio_2017_01_21 ├── CMakeLists.txt ├── conanfile.txt └── src │ ├── scheduler │ ├── simple.cpp │ └── two_workers.cpp │ └── sync │ ├── client.cpp │ └── server.cpp ├── clang_sanitizers_2016_07_13 ├── address │ ├── Makefile │ ├── double_free.cpp │ ├── free.cpp │ ├── leak.cpp │ └── overflow.cpp ├── memory │ ├── Makefile │ └── memory.cpp ├── thread │ ├── Makefile │ └── race.cpp └── undefined │ ├── Makefile │ └── function.cpp ├── clang_tools_2016_01_29 ├── format_example │ ├── CMakeLists.txt │ └── src │ │ └── format.cpp ├── modernize_example │ ├── CMakeLists.txt │ └── src │ │ └── old.cpp └── tidy_example │ ├── CMakeLists.txt │ └── src │ └── tidy.cpp ├── cling_interpreter_2016_01_08 └── src │ ├── another │ ├── my_class.cpp │ └── my_class.h │ └── useful_functions.h ├── fff_mock_2016_02_18 ├── CMakeLists.txt ├── lib │ └── fff.h ├── src │ ├── both.c │ ├── both.h │ └── modulo.h └── unittest │ └── test_both_even.c ├── future_and_promise_2016_09_11 ├── future │ ├── Makefile │ ├── simple.cpp │ └── two_futures.cpp ├── promise │ ├── Makefile │ └── simple.cpp └── thread │ ├── Makefile │ ├── simple.cpp │ └── two_threads.cpp ├── google_mock_2016_01_22 ├── CMakeLists.txt ├── conanfile.txt └── src │ ├── consumer.h │ ├── producer.h │ └── test.cpp ├── google_test_2015_12_22 ├── .gitignore ├── CMakeLists.txt ├── conanfile.txt └── src │ ├── functions.h │ └── test.cpp ├── lambda_comparison_2016_05_14 ├── c++11 │ ├── CMakeLists.txt │ └── src │ │ ├── example1.cpp │ │ └── example2.cpp ├── c++14 │ ├── CMakeLists.txt │ └── src │ │ ├── capture.cpp │ │ └── generic.cpp └── c++1z │ └── src │ ├── constexpr.cpp │ └── this.cpp ├── ld_preload_2016_01_01 └── src │ ├── Makefile │ ├── our_patch.c │ └── vulnerable_app.c ├── rickroll_module_2016_03_19 ├── Makefile └── rickroll.c ├── rr_debugger_gdb_post_2016_01_15 └── src │ ├── Makefile │ └── main.c └── unity_c_unit_test_2016_02_05 ├── CMakeLists.txt ├── lib ├── unity.c ├── unity.h └── unity_internals.h ├── src └── functions.h └── unittest └── test_functions.c /.gitignore: -------------------------------------------------------------------------------- 1 | **/.idea 2 | -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/docker-compose.yml -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/examples/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/examples/demo.gif -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/execution.tape: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/execution.tape -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/go.mod -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/go.sum -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/main.go -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/migrations/000001_create_examples_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS examples; 2 | -------------------------------------------------------------------------------- /2023_go_embed_for_migrations/migrations/000001_create_examples_table.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/2023_go_embed_for_migrations/migrations/000001_create_examples_table.up.sql -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/README.md -------------------------------------------------------------------------------- /bash_2018_02_24/format/binary_ops_and_switch_cases.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/bash_2018_02_24/format/binary_ops_and_switch_cases.sh -------------------------------------------------------------------------------- /bash_2018_02_24/format/mess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/bash_2018_02_24/format/mess.sh -------------------------------------------------------------------------------- /bash_2018_02_24/lint/errors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/bash_2018_02_24/lint/errors.sh -------------------------------------------------------------------------------- /bash_2018_02_24/test/functions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/bash_2018_02_24/test/functions.sh -------------------------------------------------------------------------------- /bash_2018_02_24/test/test_functions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/bash_2018_02_24/test/test_functions.sh -------------------------------------------------------------------------------- /boost_asio_2017_01_21/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/boost_asio_2017_01_21/CMakeLists.txt -------------------------------------------------------------------------------- /boost_asio_2017_01_21/conanfile.txt: -------------------------------------------------------------------------------- 1 | [requires] 2 | Boost/1.60.0@lasote/stable 3 | 4 | [generators] 5 | cmake 6 | -------------------------------------------------------------------------------- /boost_asio_2017_01_21/src/scheduler/simple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/boost_asio_2017_01_21/src/scheduler/simple.cpp -------------------------------------------------------------------------------- /boost_asio_2017_01_21/src/scheduler/two_workers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/boost_asio_2017_01_21/src/scheduler/two_workers.cpp -------------------------------------------------------------------------------- /boost_asio_2017_01_21/src/sync/client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/boost_asio_2017_01_21/src/sync/client.cpp -------------------------------------------------------------------------------- /boost_asio_2017_01_21/src/sync/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/boost_asio_2017_01_21/src/sync/server.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/address/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/address/Makefile -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/address/double_free.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/address/double_free.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/address/free.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/address/free.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/address/leak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/address/leak.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/address/overflow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/address/overflow.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/memory/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/memory/Makefile -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/memory/memory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/memory/memory.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/thread/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/thread/Makefile -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/thread/race.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/thread/race.cpp -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/undefined/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/undefined/Makefile -------------------------------------------------------------------------------- /clang_sanitizers_2016_07_13/undefined/function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_sanitizers_2016_07_13/undefined/function.cpp -------------------------------------------------------------------------------- /clang_tools_2016_01_29/format_example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/format_example/CMakeLists.txt -------------------------------------------------------------------------------- /clang_tools_2016_01_29/format_example/src/format.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/format_example/src/format.cpp -------------------------------------------------------------------------------- /clang_tools_2016_01_29/modernize_example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/modernize_example/CMakeLists.txt -------------------------------------------------------------------------------- /clang_tools_2016_01_29/modernize_example/src/old.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/modernize_example/src/old.cpp -------------------------------------------------------------------------------- /clang_tools_2016_01_29/tidy_example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/tidy_example/CMakeLists.txt -------------------------------------------------------------------------------- /clang_tools_2016_01_29/tidy_example/src/tidy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/clang_tools_2016_01_29/tidy_example/src/tidy.cpp -------------------------------------------------------------------------------- /cling_interpreter_2016_01_08/src/another/my_class.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/cling_interpreter_2016_01_08/src/another/my_class.cpp -------------------------------------------------------------------------------- /cling_interpreter_2016_01_08/src/another/my_class.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/cling_interpreter_2016_01_08/src/another/my_class.h -------------------------------------------------------------------------------- /cling_interpreter_2016_01_08/src/useful_functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/cling_interpreter_2016_01_08/src/useful_functions.h -------------------------------------------------------------------------------- /fff_mock_2016_02_18/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/CMakeLists.txt -------------------------------------------------------------------------------- /fff_mock_2016_02_18/lib/fff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/lib/fff.h -------------------------------------------------------------------------------- /fff_mock_2016_02_18/src/both.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/src/both.c -------------------------------------------------------------------------------- /fff_mock_2016_02_18/src/both.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/src/both.h -------------------------------------------------------------------------------- /fff_mock_2016_02_18/src/modulo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/src/modulo.h -------------------------------------------------------------------------------- /fff_mock_2016_02_18/unittest/test_both_even.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/fff_mock_2016_02_18/unittest/test_both_even.c -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/future/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/future/Makefile -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/future/simple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/future/simple.cpp -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/future/two_futures.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/future/two_futures.cpp -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/promise/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/promise/Makefile -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/promise/simple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/promise/simple.cpp -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/thread/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/thread/Makefile -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/thread/simple.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/thread/simple.cpp -------------------------------------------------------------------------------- /future_and_promise_2016_09_11/thread/two_threads.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/future_and_promise_2016_09_11/thread/two_threads.cpp -------------------------------------------------------------------------------- /google_mock_2016_01_22/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_mock_2016_01_22/CMakeLists.txt -------------------------------------------------------------------------------- /google_mock_2016_01_22/conanfile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_mock_2016_01_22/conanfile.txt -------------------------------------------------------------------------------- /google_mock_2016_01_22/src/consumer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_mock_2016_01_22/src/consumer.h -------------------------------------------------------------------------------- /google_mock_2016_01_22/src/producer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_mock_2016_01_22/src/producer.h -------------------------------------------------------------------------------- /google_mock_2016_01_22/src/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_mock_2016_01_22/src/test.cpp -------------------------------------------------------------------------------- /google_test_2015_12_22/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_test_2015_12_22/.gitignore -------------------------------------------------------------------------------- /google_test_2015_12_22/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_test_2015_12_22/CMakeLists.txt -------------------------------------------------------------------------------- /google_test_2015_12_22/conanfile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_test_2015_12_22/conanfile.txt -------------------------------------------------------------------------------- /google_test_2015_12_22/src/functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_test_2015_12_22/src/functions.h -------------------------------------------------------------------------------- /google_test_2015_12_22/src/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/google_test_2015_12_22/src/test.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++11/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++11/CMakeLists.txt -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++11/src/example1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++11/src/example1.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++11/src/example2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++11/src/example2.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++14/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++14/CMakeLists.txt -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++14/src/capture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++14/src/capture.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++14/src/generic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++14/src/generic.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++1z/src/constexpr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++1z/src/constexpr.cpp -------------------------------------------------------------------------------- /lambda_comparison_2016_05_14/c++1z/src/this.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/lambda_comparison_2016_05_14/c++1z/src/this.cpp -------------------------------------------------------------------------------- /ld_preload_2016_01_01/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/ld_preload_2016_01_01/src/Makefile -------------------------------------------------------------------------------- /ld_preload_2016_01_01/src/our_patch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/ld_preload_2016_01_01/src/our_patch.c -------------------------------------------------------------------------------- /ld_preload_2016_01_01/src/vulnerable_app.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/ld_preload_2016_01_01/src/vulnerable_app.c -------------------------------------------------------------------------------- /rickroll_module_2016_03_19/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/rickroll_module_2016_03_19/Makefile -------------------------------------------------------------------------------- /rickroll_module_2016_03_19/rickroll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/rickroll_module_2016_03_19/rickroll.c -------------------------------------------------------------------------------- /rr_debugger_gdb_post_2016_01_15/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/rr_debugger_gdb_post_2016_01_15/src/Makefile -------------------------------------------------------------------------------- /rr_debugger_gdb_post_2016_01_15/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/rr_debugger_gdb_post_2016_01_15/src/main.c -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/CMakeLists.txt -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/lib/unity.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/lib/unity.c -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/lib/unity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/lib/unity.h -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/lib/unity_internals.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/lib/unity_internals.h -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/src/functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/src/functions.h -------------------------------------------------------------------------------- /unity_c_unit_test_2016_02_05/unittest/test_functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maitesin/blog/HEAD/unity_c_unit_test_2016_02_05/unittest/test_functions.c --------------------------------------------------------------------------------