Difference between revisions of "Sum Scan With Pattern Matching Assignment"
Jump to navigation
Jump to search
(→Test) |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
=Code to Implement= | =Code to Implement= | ||
− | {{SMLToImplement|sum_scan | + | {{SMLToImplement|sum_scan_pattern|sum_scan|warmup_sum_scan_pattern}} |
=Test= | =Test= | ||
− | {{ | + | {{SMLUnitTesting|run_sum_scan_pattern_testing|warmup_sum_scan_pattern}} |
Latest revision as of 03:56, 5 September 2022
Reimplement Sum Scan with pattern matching.
Code to Implement
file: | src/main/sml/warmup_sum_scan_pattern/sum_scan_pattern.sml | |
functions: | sum_scan |
Test
source folder: | src/test/sml/warmup_sum_scan_pattern |
how to run with CM.make verbosity off: | sml -Ccm.verbose=false run_sum_scan_pattern_testing.sml |
how to run with CM.make verbosity on: | sml run_sum_scan_pattern_testing.sml |
note: ensure that you have removed all printing to receive credit for any assignment.