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:
122
122
@itemlist[
123
123
@item{Study @tt{ast.rkt} to understand how this new form of expression is represented.}
124
124
125
+ @item{Add test cases to @tt{test/test-runner.rkt}. These will be
126
+ tested with both the interpreter and compiler.}
127
+
125
128
@item{Update @tt{interp.rkt} to correctly interpret @racket[case ] expressions.}
126
129
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
+
127
134
@item{Make examples of @racket[case ]-expressions and potential translations of them
128
135
to assembly.}
129
136
130
137
@item{Update @tt{compile.rkt} to correctly compile @racket[case ] expressions based on your examples.}
131
138
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}.}
143
140
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}.}
146
142
147
- @item{Using the command line @tt{raco test <file>} to
148
- test only @tt{<file>}.}
149
143
]
150
144
151
145
Note 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