From 38db34fe58592b78f1ce3b4488b872d026722188 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 13 Oct 2019 09:59:43 -0400 Subject: [PATCH] sweet unit test hack --- unit_tests/unit_test_framework.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unit_tests/unit_test_framework.h b/unit_tests/unit_test_framework.h index 808b6c6044..66e16cbe15 100644 --- a/unit_tests/unit_test_framework.h +++ b/unit_tests/unit_test_framework.h @@ -12,6 +12,9 @@ #include "gtest/gtest.h" #include "gmock/gmock.h" +// This lets us inspect private state from unit tests +#define private public + #define EPS1D 0.1 #define EPS2D 0.01 #define EPS3D 0.001