From 5cc0427ebf114243d7375408e1065c3d30b945fe Mon Sep 17 00:00:00 2001 From: Christopher Tessum Date: Fri, 22 Jul 2022 19:46:37 -0500 Subject: [PATCH] Fix documentation example --- src/Grader.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grader.jl b/src/Grader.jl index e2d635c..a117884 100644 --- a/src/Grader.jl +++ b/src/Grader.jl @@ -171,7 +171,7 @@ answer_code = fill_answers(code, Dict( p = Problem() -answer = runstudent!(p, answer_code) +answer = @runstudent! p answer_code grade!(p, "area", "calculate area", 1, :($answer.a ≈ 4π), "area is incorrect") grade!(p, "perimeter", "calculate perimeter", 1, :($answer.p ≈ 4π), "perimeter is incorrect")