From f6644671cf76dbe89afa4c7cb1757275cdcb7a68 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Tue, 10 Feb 2026 22:01:52 -0500 Subject: [PATCH] less aggressive factorial test with 12 37 was too big a factorial, just because i was using ints and they can't represent the number for 37!. so, 12 is much nicer. --- nucleus/library/tests_application/test_callstack_tracker.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nucleus/library/tests_application/test_callstack_tracker.cpp b/nucleus/library/tests_application/test_callstack_tracker.cpp index 825f0c70..4823586c 100644 --- a/nucleus/library/tests_application/test_callstack_tracker.cpp +++ b/nucleus/library/tests_application/test_callstack_tracker.cpp @@ -118,7 +118,9 @@ int test_callstack_tracker::run_filestack_middling() int test_callstack_tracker::run_filestack_complex() { FUNCDEF("run_filestack_complex") - int factotum = recursive_factorial(37); + int fact_sought = 12; + int factotum = recursive_factorial(12); + LOG(a_sprintf("factorial of %d was computed as %d", fact_sought, factotum)); if (factotum < 0) { // uh-oh, there was an actual failure of some sort. return 1; -- 2.34.1