- assert_eq!(tally_marks(1), "π·");
- assert_eq!(tally_marks(2), "π·π·");
- assert_eq!(tally_marks(3), "π·π·π·");
- assert_eq!(tally_marks(4), "π·π·π·π·");
- assert_eq!(tally_marks(5), "πΈ");
- assert_eq!(tally_marks(6), "πΈπ·");
- assert_eq!(tally_marks(7), "πΈπ·π·");
- assert_eq!(tally_marks(8), "πΈπ·π·π·");
- assert_eq!(tally_marks(9), "πΈπ·π·π·π·");
- assert_eq!(tally_marks(10), "πΈπΈ");
- assert_eq!(tally_marks(11), "πΈπΈπ·");
+ assert_eq!(tally_marks(1, None), "π·");
+ assert_eq!(tally_marks(2, None), "π·π·");
+ assert_eq!(tally_marks(3, None), "π·π·π·");
+ assert_eq!(tally_marks(4, None), "π·π·π·π·");
+ assert_eq!(tally_marks(5, None), "πΈ");
+ assert_eq!(tally_marks(6, None), "πΈπ·");
+ assert_eq!(tally_marks(7, None), "πΈπ·π·");
+ assert_eq!(tally_marks(8, None), "πΈπ·π·π·");
+ assert_eq!(tally_marks(9, None), "πΈπ·π·π·π·");
+ assert_eq!(tally_marks(10, None), "πΈπΈ");
+ assert_eq!(tally_marks(11, None), "πΈπΈπ·");
+ assert_eq!(tally_marks(1, Some("x")), "x");
+ assert_eq!(tally_marks(4, Some("x")), "xxxx");
+ assert_eq!(tally_marks(5, Some("x")), "xxxxx");
+ assert_eq!(tally_marks(6, Some("x")), "xxxxxx");
+ assert_eq!(tally_marks(2, Some("π")), "ππ");