Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 472 Bytes

mytests.rst

File metadata and controls

12 lines (9 loc) · 472 Bytes

This file holds the tests that you create. Remember to import the python file(s) you wish to test, along with any other modules you may need. Run your tests with "python3 ok -t --suite SUITE_NAME --case CASE_NAME -v" --------------------------------------------------------------------------------

Suite 1

>>> from scheme_reader import *
>>> from scheme import *
Case Example
>>> read_line('(define (sum n total) (if (zero? n) total (sum (- n 1) 9)))')