Skip to content

Commit ccc4f1f

Browse files
committed
Clean up assign 4 description.
1 parent 73bc88e commit ccc4f1f

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

www/assignments/4.scrbl

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff 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
128135
to 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

151145
Note that only a small number of tests are given to you, so you should

0 commit comments

Comments
 (0)