From 7a93cf62cd3ef299bdbde16040d72409d6bae0ef Mon Sep 17 00:00:00 2001 From: Gururagavendra85 Date: Fri, 11 Jul 2025 17:01:58 +0530 Subject: [PATCH 1/3] fix header definition not imported --- functions/tasks/randomizer/solution_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/tasks/randomizer/solution_test.cpp b/functions/tasks/randomizer/solution_test.cpp index 66a794a..e06d7a8 100644 --- a/functions/tasks/randomizer/solution_test.cpp +++ b/functions/tasks/randomizer/solution_test.cpp @@ -1,6 +1,7 @@ #include "solution.h" #include #include +#include int add(int a, int b) { return a + b; From 8592b0b5a2d788b0140c5e71b8443a956928868a Mon Sep 17 00:00:00 2001 From: Gururagavendra85 Date: Fri, 11 Jul 2025 17:02:07 +0530 Subject: [PATCH 2/3] fix readme definition --- functions/tasks/randomizer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/tasks/randomizer/README.md b/functions/tasks/randomizer/README.md index 0265146..f961373 100644 --- a/functions/tasks/randomizer/README.md +++ b/functions/tasks/randomizer/README.md @@ -16,7 +16,7 @@ int add(int a, int b) { return a + b; } ... -auto randomized_add = randomize(1); +auto randomized_add = randomize(add,3); int a = randomized_add(4); // will be equal to random value + 4 int b = randomized_add(3); // will be equal to random value + 3 ``` From 1bb3653ab99e8adb018dc740a774b4211ae46389 Mon Sep 17 00:00:00 2001 From: Gururagavendra85 Date: Sun, 13 Jul 2025 10:23:45 +0530 Subject: [PATCH 3/3] address pr comments --- functions/tasks/randomizer/solution_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/functions/tasks/randomizer/solution_test.cpp b/functions/tasks/randomizer/solution_test.cpp index e06d7a8..66a794a 100644 --- a/functions/tasks/randomizer/solution_test.cpp +++ b/functions/tasks/randomizer/solution_test.cpp @@ -1,7 +1,6 @@ #include "solution.h" #include #include -#include int add(int a, int b) { return a + b;