From d3e183d6003cc1de2dbab58788fe34d56713bd12 Mon Sep 17 00:00:00 2001 From: Vijay Janapa Reddi Date: Sun, 20 Jul 2025 10:18:52 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Add=20missing=20test=20function?= =?UTF-8?q?=20calls=20in=2001=5Fsetup=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added test_unit_personal_info_basic() call after function definition - Added test_unit_system_info_basic() call after function definition Ensures test functions are actually executed when cells run, providing immediate feedback to students. --- modules/source/01_setup/setup_dev.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/source/01_setup/setup_dev.py b/modules/source/01_setup/setup_dev.py index c29fcbc4..0db553f6 100644 --- a/modules/source/01_setup/setup_dev.py +++ b/modules/source/01_setup/setup_dev.py @@ -490,6 +490,9 @@ def test_unit_personal_info_basic(): print("โœ… Personal info function tests passed!") print(f"โœ… TinyTorch configured for: {personal['developer']}") +# Run the test +test_unit_personal_info_basic() + # %% def test_unit_system_info_basic(): """Test system_info function implementation.""" @@ -525,6 +528,9 @@ def test_unit_system_info_basic(): print("โœ… System info function tests passed!") print(f"โœ… Python: {sys_info['python_version']} on {sys_info['platform']}") +# Run the test +test_unit_system_info_basic() + # %% [markdown] """ ## ๐Ÿงช Module Testing