File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -122,30 +122,24 @@ To do this, you should:
122122@itemlist[
123123@item{Study @tt{ast.rkt} to understand how this new form of expression is represented.}
124124
125+ @item{Add test cases to @tt{test/test-runner.rkt}. These will be
126+ tested with both the interpreter and compiler.}
127+
125128@item{Update @tt{interp.rkt} to correctly interpret @racket[case ] expressions.}
126129
130+ @item{Bring forward all of the changes you made to the interpreter from @secref{a3-dupe-plus}.}
131+
132+ @item{Test your interpreter with @tt{raco test test/interp.rkt}.}
133+
127134@item{Make examples of @racket[case ]-expressions and potential translations of them
128135to assembly.}
129136
130137@item{Update @tt{compile.rkt} to correctly compile @racket[case ] expressions based on your examples.}
131138
132- @item{Bring forward all the changes you made for @secref{a3-dupe-plus}.}
133-
134- @item{Check your implementation by running the tests in @tt{test/all.rkt}.}
135- ]
136-
137-
138- @section[#:tag-prefix "a4- " #:style 'unnumbered ]{Testing}
139-
140- You can test your code in several ways:
141-
142- @itemlist[
139+ @item{Bring forward all of the changes you made to the compiler from @secref{a3-dupe-plus}.}
143140
144- @item{Using the command line @tt{raco test .} from
145- the directory containing the repository to test everything.}
141+ @item{Test your interpreter with @tt{raco test test/compile.rkt}.}
146142
147- @item{Using the command line @tt{raco test <file>} to
148- test only @tt{<file>}.}
149143]
150144
151145Note that only a small number of tests are given to you, so you should
You can’t perform that action at this time.
0 commit comments