Commit a27f1f8
committed
Add unit tests for FileCollector, CommandBase filters, and StatsAnalyser
- test_file_collector.cpp: 11 tests for file/directory collection
- test_command_base.cpp: 28 tests for filtering logic (date, value, errors)
- test_stats_analyser.cpp: 32 tests for statistical functions (isNumeric,
median, stddev, percentile)
- Fix test_error_detector.cpp Windows compatibility (mkdir/rmdir)
- Update Makefile with all new unit test targets1 parent f3b7880 commit a27f1f8
File tree
5 files changed
+1000
-4
lines changed- tests
5 files changed
+1000
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments