another debug with valgrind in fmock and tensor

This commit is contained in:
2024-02-12 01:34:08 +01:00
parent 877891987a
commit 60e4b16308
12 changed files with 318 additions and 39 deletions
+6
View File
@@ -13,11 +13,13 @@
#include "fmock/fmock.h"
#if 1
TEST(true__){
PRINTF("another test again false\n");
bool val_bool = false;
ASSERT_TRUE(val_bool);
}
TEST(test)
{
PRINTF("test test\n");
@@ -25,6 +27,7 @@ TEST(test)
ASSERT_FALSE(val_bool);
}
TEST(float_equal){
PRINTF("another test float\n");
ASSERT_TRUE(true);
@@ -184,6 +187,8 @@ TEST(mockf1){
#endif
#if 1
MOCK_FUNC(int, f2_mock,(int a,int b),(a,b))
@@ -349,6 +354,7 @@ TEST(f7_mock_test){
#endif
int main(int argc, char **argv){
//run_all_tests();