42 lines
975 B
Plaintext
42 lines
975 B
Plaintext
==============================
|
|
DCS 211: Lab 1
|
|
Name: Donaghy, Megan
|
|
Score: STUDENT_SCORE
|
|
====================================
|
|
|
|
---- AUTOGRADE OUTPUT ----
|
|
Testing compute_sum([]):
|
|
✓ result = 0
|
|
expected = 0
|
|
Testing compute_sum([0]):
|
|
✓ result = 0
|
|
expected = 0
|
|
Testing compute_sum([1, 2, 3]):
|
|
✓ result = 6
|
|
expected = 6
|
|
Testing compute_sum([-1, 2, -3]):
|
|
✓ result = -2
|
|
expected = -2
|
|
Testing compute_product([]):
|
|
✓ result = None
|
|
expected = None
|
|
Testing compute_product([0]):
|
|
✓ result = 0
|
|
expected = 0
|
|
Testing compute_product([1, 2, 3]):
|
|
✓ result = 6
|
|
expected = 6
|
|
Testing compute_product([-1, 2, -3]):
|
|
✓ result = 6
|
|
expected = 6
|
|
Testing compute_product([-1, -2, -3]):
|
|
✓ result = -6
|
|
expected = -6
|
|
Testing compute_product([-1, -2, -3, 0]):
|
|
✓ result = 0
|
|
expected = 0
|
|
------------------------------
|
|
Total tests passed: 10 / 10
|
|
------------------------------
|
|
---- END AUTOGRADE OUTPUT ----
|