Differences

This shows you the differences between two versions of the page.

assignment-1 [2018/08/30 17:26]
pkoronke
assignment-1 [2019/01/15 13:41] (current)
kl13 "{:a1studenttests.rkt" --> "{:a1-student-tests.rkt"
Line 17: Line 17:
===== Testing your assignment ===== ===== Testing your assignment =====
-You must test your solutions before submitting your assignment. We have provided a suite of test cases to get you started. To run these tests, you must download the {{:a1studenttests.rkt|a1-student-tests.rkt}} test file. To use these tools, do the following in a Racket REPL (the code and test suite must be located in the same directory):+You must test your solutions before submitting your assignment. We have provided a suite of test cases to get you started. To run these tests, you must download the {{:a1-student-tests.rkt|a1-student-tests.rkt}} test file. To use these tools, do the following in a Racket REPL (the code and test suite must be located in the same directory):
<code lisp> <code lisp>
Line 121: Line 121:
</code> </code>
-11. Define and test a procedure ''memv'' that takes an element and a list and returns the first ''cdr'' whose ''car'' is ''eqv?'' to the element, or ''#f'' if the element is absent from the list.+11. Define and test a procedure ''memv'' that takes an element and a list and returns the first sublist whose ''car'' is ''eqv?'' to the element, or ''#f'' if the element is absent from the list.
<code lisp> <code lisp>
 

assignment-1.1535664375.txt.gz · Last modified: 2018/08/30 17:26 by pkoronke