--- a/cw5_marking/c4.sc Fri Sep 18 10:57:24 2026 +0100
+++ b/cw5_marking/c4.sc Fri Sep 18 10:58:01 2026 +0100
@@ -33,8 +33,8 @@
//println("TEST4")
Try(res.out.text()) match {
- case Success(v) if v == out => println(s" Success. Printed out the correct picture.\n")
- case Success(v) => println(s" Printed out wrong or no picture.\n${pp(v, out)}") ; throw new Exception("Wrong picture")
- case Failure(e) => println(s" Fail. Printed ${res.out.text()} instead\n") ; throw(e)
+ case Success(v) if v == out => println(s" Success. Printed out the correct picture.\n")
+ case Success(v) => println(s" Printed out wrong or no picture.\n${pp(v, out)}") ; throw new Exception("Wrong picture")
+ case Failure(e) => println(s" Fail. Printed ${res.out.text()} instead\n") ; throw(e)
}