This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (my-for-each proc list-of-values) | |
(cond ((null? list-of-values) #t) | |
(else (proc (car list-of-values)) | |
(my-for-each proc (cdr list-of-values))))) | |
;; or | |
(define (my-for-each proc list-of-values) | |
(if (null? list-of-values) | |
#t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ca.jbrains.pos.test; | |
import static org.junit.Assert.*; | |
import java.util.*; | |
import org.junit.*; | |
public class SellOneItemTest { | |
private Display display; |