You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p1grading_result 54KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  2. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  3. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  4. Unit test 1: error messages
  5. # (running score = 0/0)
  6.  Passed: too many args to matrix dims (1/1)
  7.  Passed: no args to matrix add (1/1)
  8.  Passed: multiplying incompatible matrices (5/5)
  9.  Passed: adding incompatible matrices (4/4)
  10.  Passed: tranpose unreadable file (2/2)
  11.  Passed: get dims of nonexistent file (1/1)
  12.  Passed: matrix badcommand (1/1)
  13. Unit test 2: matrix dims tests
  14. # (running score = 15/15)
  15.  Passed: Stdin: ("58 75" == "58 75") (3/3)
  16.  Passed: Stdin: ("51 71" == "51 71") (3/3)
  17.  Passed: Stdin: ("89 90" == "89 90") (3/3)
  18.  Passed: File input: ("72 86" == "72 86") (3/3)
  19.  Passed: File input: ("54 100" == "54 100") (3/3)
  20.  Passed: File input: ("52 61" == "52 61") (3/3)
  21. Unit test 3: matrix transpose hardcoded test
  22. # (running score = 33/33)
  23.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  24. Unit test 4: matrix transpose involution test
  25. # (running score = 43/43)
  26.  Passed: m1 == T(T(m1)) (5/5)
  27.  Passed: m2 == T(T(m2)) (5/5)
  28.  Passed: m3 == T(T(m3)) (5/5)
  29. Unit test 5: matrix mean test
  30. # (running score = 58/58)
  31.  Passed: zero matrix (2/2)
  32.  Passed: ones matrix (5/5)
  33.  Passed: identity matrix (5/5)
  34.  Passed: hardcoded matrix (15/15)
  35. Unit test 6: matrix add test
  36. # (running score = 85/85)
  37.  Passed: 0 + 0 == 0 (2/2)
  38.  Passed: X + 0 == X (5/5)
  39.  Passed: 0 + X == X (5/5)
  40.  Passed: A + B == B + A (1/1)
  41.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  42. Unit test 7: matrix multiply test
  43. # (running score = 113/113)
  44.  Passed: I * M == M (5/5)
  45.  Passed: M * I == M (5/5)
  46.  Passed: 0 * M == 0 (5/5)
  47.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  48. # Final grade: 148/148
  49. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  50. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  51. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  52. Unit test 1: error messages
  53. # (running score = 0/0)
  54.  Passed: too many args to matrix dims (1/1)
  55.  Passed: no args to matrix add (1/1)
  56.  Passed: multiplying incompatible matrices (5/5)
  57.  Passed: adding incompatible matrices (4/4)
  58.  Passed: tranpose unreadable file (2/2)
  59.  Passed: get dims of nonexistent file (1/1)
  60.  Passed: matrix badcommand (1/1)
  61. Unit test 2: matrix dims tests
  62. # (running score = 15/15)
  63.  Passed: Stdin: ("92 78" == "92 78") (3/3)
  64.  Passed: Stdin: ("86 78" == "86 78") (3/3)
  65.  Passed: Stdin: ("94 99" == "94 99") (3/3)
  66.  Passed: File input: ("95 95" == "95 95") (3/3)
  67.  Passed: File input: ("69 89" == "69 89") (3/3)
  68.  Passed: File input: ("98 51" == "98 51") (3/3)
  69. Unit test 3: matrix transpose hardcoded test
  70. # (running score = 33/33)
  71.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  72. Unit test 4: matrix transpose involution test
  73. # (running score = 43/43)
  74.  Passed: m1 == T(T(m1)) (5/5)
  75.  Passed: m2 == T(T(m2)) (5/5)
  76.  Passed: m3 == T(T(m3)) (5/5)
  77. Unit test 5: matrix mean test
  78. # (running score = 58/58)
  79.  Passed: zero matrix (2/2)
  80.  Passed: ones matrix (5/5)
  81.  Passed: identity matrix (5/5)
  82.  Passed: hardcoded matrix (15/15)
  83. Unit test 6: matrix add test
  84. # (running score = 85/85)
  85.  Passed: 0 + 0 == 0 (2/2)
  86.  Passed: X + 0 == X (5/5)
  87.  Passed: 0 + X == X (5/5)
  88.  Passed: A + B == B + A (1/1)
  89.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  90. Unit test 7: matrix multiply test
  91. # (running score = 113/113)
  92.  Passed: I * M == M (5/5)
  93.  Passed: M * I == M (5/5)
  94.  Passed: 0 * M == 0 (5/5)
  95.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  96. # Final grade: 148/148
  97. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  98. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  99. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  100. Unit test 1: error messages
  101. # (running score = 0/0)
  102.  Passed: too many args to matrix dims (1/1)
  103.  Passed: no args to matrix add (1/1)
  104. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  105. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  106. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  107. Unit test 1: error messages
  108. # (running score = 0/0)
  109.  Passed: too many args to matrix dims (1/1)
  110.  Passed: no args to matrix add (1/1)
  111.  Passed: multiplying incompatible matrices (5/5)
  112.  Passed: adding incompatible matrices (4/4)
  113.  Passed: tranpose unreadable file (2/2)
  114.  Passed: get dims of nonexistent file (1/1)
  115.  Passed: matrix badcommand (1/1)
  116. Unit test 2: matrix dims tests
  117. # (running score = 15/15)
  118.  Passed: Stdin: ("54 64" == "54 64") (3/3)
  119.  Passed: Stdin: ("78 88" == "78 88") (3/3)
  120.  Passed: Stdin: ("64 96" == "64 96") (3/3)
  121.  Passed: File input: ("78 98" == "78 98") (3/3)
  122.  Passed: File input: ("53 89" == "53 89") (3/3)
  123.  Passed: File input: ("65 80" == "65 80") (3/3)
  124. Unit test 3: matrix transpose hardcoded test
  125. # (running score = 33/33)
  126.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  127. Unit test 4: matrix transpose involution test
  128. # (running score = 43/43)
  129.  Passed: m1 == T(T(m1)) (5/5)
  130.  Passed: m2 == T(T(m2)) (5/5)
  131.  Passed: m3 == T(T(m3)) (5/5)
  132. Unit test 5: matrix mean test
  133. # (running score = 58/58)
  134.  Passed: zero matrix (2/2)
  135.  Passed: ones matrix (5/5)
  136.  Passed: identity matrix (5/5)
  137.  Passed: hardcoded matrix (15/15)
  138. Unit test 6: matrix add test
  139. # (running score = 85/85)
  140.  Passed: 0 + 0 == 0 (2/2)
  141.  Passed: X + 0 == X (5/5)
  142.  Passed: 0 + X == X (5/5)
  143.  Passed: A + B == B + A (1/1)
  144.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  145. Unit test 7: matrix multiply test
  146. # (running score = 113/113)
  147.  Passed: I * M == M (5/5)
  148.  Passed: M * I == M (5/5)
  149.  Passed: 0 * M == 0 (5/5)
  150.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  151. # Final grade: 148/148
  152. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  153. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  154. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  155. Unit test 1: error messages
  156. # (running score = 0/0)
  157.  Passed: too many args to matrix dims (1/1)
  158.  Passed: no args to matrix add (1/1)
  159.  Passed: multiplying incompatible matrices (5/5)
  160.  Passed: adding incompatible matrices (4/4)
  161.  Passed: tranpose unreadable file (2/2)
  162.  Passed: get dims of nonexistent file (1/1)
  163.  Passed: matrix badcommand (1/1)
  164. Unit test 2: matrix dims tests
  165. # (running score = 15/15)
  166.  Passed: Stdin: ("85 61" == "85 61") (3/3)
  167.  Passed: Stdin: ("97 97" == "97 97") (3/3)
  168.  Passed: Stdin: ("87 86" == "87 86") (3/3)
  169.  Passed: File input: ("92 88" == "92 88") (3/3)
  170.  Passed: File input: ("92 97" == "92 97") (3/3)
  171.  Passed: File input: ("78 80" == "78 80") (3/3)
  172. Unit test 3: matrix transpose hardcoded test
  173. # (running score = 33/33)
  174.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  175. Unit test 4: matrix transpose involution test
  176. # (running score = 43/43)
  177.  Passed: m1 == T(T(m1)) (5/5)
  178.  Passed: m2 == T(T(m2)) (5/5)
  179.  Passed: m3 == T(T(m3)) (5/5)
  180. Unit test 5: matrix mean test
  181. # (running score = 58/58)
  182.  Passed: zero matrix (2/2)
  183.  Passed: ones matrix (5/5)
  184.  Passed: identity matrix (5/5)
  185.  Passed: hardcoded matrix (15/15)
  186. Unit test 6: matrix add test
  187. # (running score = 85/85)
  188.  Passed: 0 + 0 == 0 (2/2)
  189.  Passed: X + 0 == X (5/5)
  190.  Passed: 0 + X == X (5/5)
  191.  Passed: A + B == B + A (1/1)
  192.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  193. Unit test 7: matrix multiply test
  194. # (running score = 113/113)
  195.  Passed: I * M == M (5/5)
  196.  Passed: M * I == M (5/5)
  197.  Passed: 0 * M == 0 (5/5)
  198.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  199. # Final grade: 148/148
  200. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  201. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  202. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  203. Unit test 1: error messages
  204. # (running score = 0/0)
  205.  Passed: too many args to matrix dims (1/1)
  206.  Passed: no args to matrix add (1/1)
  207.  Passed: multiplying incompatible matrices (5/5)
  208.  Passed: adding incompatible matrices (4/4)
  209.  Passed: tranpose unreadable file (2/2)
  210.  Passed: get dims of nonexistent file (1/1)
  211.  Passed: matrix badcommand (1/1)
  212. Unit test 2: matrix dims tests
  213. # (running score = 15/15)
  214.  Passed: Stdin: ("85 79" == "85 79") (3/3)
  215.  Passed: Stdin: ("70 51" == "70 51") (3/3)
  216.  Passed: Stdin: ("72 78" == "72 78") (3/3)
  217.  Passed: File input: ("59 83" == "59 83") (3/3)
  218.  Passed: File input: ("76 93" == "76 93") (3/3)
  219.  Passed: File input: ("59 76" == "59 76") (3/3)
  220. Unit test 3: matrix transpose hardcoded test
  221. # (running score = 33/33)
  222.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  223. Unit test 4: matrix transpose involution test
  224. # (running score = 43/43)
  225.  Passed: m1 == T(T(m1)) (5/5)
  226.  Passed: m2 == T(T(m2)) (5/5)
  227.  Passed: m3 == T(T(m3)) (5/5)
  228. Unit test 5: matrix mean test
  229. # (running score = 58/58)
  230.  Passed: zero matrix (2/2)
  231.  Passed: ones matrix (5/5)
  232.  Passed: identity matrix (5/5)
  233.  Passed: hardcoded matrix (15/15)
  234. Unit test 6: matrix add test
  235. # (running score = 85/85)
  236.  Passed: 0 + 0 == 0 (2/2)
  237.  Passed: X + 0 == X (5/5)
  238.  Passed: 0 + X == X (5/5)
  239.  Passed: A + B == B + A (1/1)
  240.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  241. Unit test 7: matrix multiply test
  242. # (running score = 113/113)
  243.  Passed: I * M == M (5/5)
  244.  Passed: M * I == M (5/5)
  245.  Passed: 0 * M == 0 (5/5)
  246.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  247. # Final grade: 148/148
  248. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  249. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  250. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  251. Unit test 1: error messages
  252. # (running score = 0/0)
  253.  Passed: too many args to matrix dims (1/1)
  254.  Passed: no args to matrix add (1/1)
  255.  Passed: multiplying incompatible matrices (5/5)
  256.  Passed: adding incompatible matrices (4/4)
  257.  Passed: tranpose unreadable file (2/2)
  258.  Passed: get dims of nonexistent file (1/1)
  259.  Passed: matrix badcommand (1/1)
  260. Unit test 2: matrix dims tests
  261. # (running score = 15/15)
  262.  Passed: Stdin: ("56 69" == "56 69") (3/3)
  263.  Passed: Stdin: ("96 95" == "96 95") (3/3)
  264.  Passed: Stdin: ("98 69" == "98 69") (3/3)
  265.  Passed: File input: ("76 98" == "76 98") (3/3)
  266.  Passed: File input: ("97 71" == "97 71") (3/3)
  267.  Passed: File input: ("68 73" == "68 73") (3/3)
  268. Unit test 3: matrix transpose hardcoded test
  269. # (running score = 33/33)
  270.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  271. Unit test 4: matrix transpose involution test
  272. # (running score = 43/43)
  273.  Passed: m1 == T(T(m1)) (5/5)
  274.  Passed: m2 == T(T(m2)) (5/5)
  275.  Passed: m3 == T(T(m3)) (5/5)
  276. Unit test 5: matrix mean test
  277. # (running score = 58/58)
  278.  Passed: zero matrix (2/2)
  279.  Passed: ones matrix (5/5)
  280.  Passed: identity matrix (5/5)
  281.  Passed: hardcoded matrix (15/15)
  282. Unit test 6: matrix add test
  283. # (running score = 85/85)
  284.  Passed: 0 + 0 == 0 (2/2)
  285.  Passed: X + 0 == X (5/5)
  286.  Passed: 0 + X == X (5/5)
  287.  Passed: A + B == B + A (1/1)
  288.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  289. Unit test 7: matrix multiply test
  290. # (running score = 113/113)
  291.  Passed: I * M == M (5/5)
  292.  Passed: M * I == M (5/5)
  293.  Passed: 0 * M == 0 (5/5)
  294.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  295. # Final grade: 148/148
  296. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  297. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  298. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  299. Unit test 1: error messages
  300. # (running score = 0/0)
  301.  Passed: too many args to matrix dims (1/1)
  302.  Passed: no args to matrix add (1/1)
  303.  Passed: multiplying incompatible matrices (5/5)
  304.  Passed: adding incompatible matrices (4/4)
  305.  Passed: tranpose unreadable file (2/2)
  306.  Passed: get dims of nonexistent file (1/1)
  307.  Passed: matrix badcommand (1/1)
  308. Unit test 2: matrix dims tests
  309. # (running score = 15/15)
  310.  Passed: Stdin: ("59 67" == "59 67") (3/3)
  311.  Passed: Stdin: ("65 79" == "65 79") (3/3)
  312.  Passed: Stdin: ("63 80" == "63 80") (3/3)
  313.  Passed: File input: ("95 80" == "95 80") (3/3)
  314.  Passed: File input: ("93 57" == "93 57") (3/3)
  315.  Passed: File input: ("87 85" == "87 85") (3/3)
  316. Unit test 3: matrix transpose hardcoded test
  317. # (running score = 33/33)
  318.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  319. Unit test 4: matrix transpose involution test
  320. # (running score = 43/43)
  321.  Passed: m1 == T(T(m1)) (5/5)
  322.  Passed: m2 == T(T(m2)) (5/5)
  323.  Passed: m3 == T(T(m3)) (5/5)
  324. Unit test 5: matrix mean test
  325. # (running score = 58/58)
  326.  Passed: zero matrix (2/2)
  327.  Passed: ones matrix (5/5)
  328.  Passed: identity matrix (5/5)
  329.  Passed: hardcoded matrix (15/15)
  330. Unit test 6: matrix add test
  331. # (running score = 85/85)
  332.  Passed: 0 + 0 == 0 (2/2)
  333.  Passed: X + 0 == X (5/5)
  334.  Passed: 0 + X == X (5/5)
  335.  Passed: A + B == B + A (1/1)
  336.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  337. Unit test 7: matrix multiply test
  338. # (running score = 113/113)
  339.  Passed: I * M == M (5/5)
  340.  Passed: M * I == M (5/5)
  341.  Passed: 0 * M == 0 (5/5)
  342.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  343. # Final grade: 148/148
  344. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  345. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  346. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  347. Unit test 1: error messages
  348. # (running score = 0/0)
  349.  Passed: too many args to matrix dims (1/1)
  350.  Passed: no args to matrix add (1/1)
  351.  Passed: multiplying incompatible matrices (5/5)
  352.  Passed: adding incompatible matrices (4/4)
  353.  Passed: tranpose unreadable file (2/2)
  354.  Passed: get dims of nonexistent file (1/1)
  355.  Passed: matrix badcommand (1/1)
  356. Unit test 2: matrix dims tests
  357. # (running score = 15/15)
  358.  Passed: Stdin: ("74 92" == "74 92") (3/3)
  359.  Passed: Stdin: ("74 94" == "74 94") (3/3)
  360.  Passed: Stdin: ("85 89" == "85 89") (3/3)
  361.  Passed: File input: ("61 71" == "61 71") (3/3)
  362.  Passed: File input: ("63 55" == "63 55") (3/3)
  363.  Passed: File input: ("88 65" == "88 65") (3/3)
  364. Unit test 3: matrix transpose hardcoded test
  365. # (running score = 33/33)
  366.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  367. Unit test 4: matrix transpose involution test
  368. # (running score = 43/43)
  369.  Passed: m1 == T(T(m1)) (5/5)
  370.  Passed: m2 == T(T(m2)) (5/5)
  371.  Passed: m3 == T(T(m3)) (5/5)
  372. Unit test 5: matrix mean test
  373. # (running score = 58/58)
  374.  Passed: zero matrix (2/2)
  375.  Passed: ones matrix (5/5)
  376.  Passed: identity matrix (5/5)
  377.  Passed: hardcoded matrix (15/15)
  378. Unit test 6: matrix add test
  379. # (running score = 85/85)
  380.  Passed: 0 + 0 == 0 (2/2)
  381.  Passed: X + 0 == X (5/5)
  382.  Passed: 0 + X == X (5/5)
  383.  Passed: A + B == B + A (1/1)
  384.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  385. Unit test 7: matrix multiply test
  386. # (running score = 113/113)
  387.  Passed: I * M == M (5/5)
  388.  Passed: M * I == M (5/5)
  389.  Passed: 0 * M == 0 (5/5)
  390.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  391. # Final grade: 148/148
  392. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  393. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  394. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  395. Unit test 1: error messages
  396. # (running score = 0/0)
  397.  Passed: too many args to matrix dims (1/1)
  398.  Passed: no args to matrix add (1/1)
  399.  Passed: multiplying incompatible matrices (5/5)
  400.  Passed: adding incompatible matrices (4/4)
  401.  Passed: tranpose unreadable file (2/2)
  402.  Passed: get dims of nonexistent file (1/1)
  403.  Passed: matrix badcommand (1/1)
  404. Unit test 2: matrix dims tests
  405. # (running score = 15/15)
  406.  Passed: Stdin: ("98 97" == "98 97") (3/3)
  407.  Passed: Stdin: ("64 73" == "64 73") (3/3)
  408.  Passed: Stdin: ("79 98" == "79 98") (3/3)
  409.  Passed: File input: ("65 77" == "65 77") (3/3)
  410.  Passed: File input: ("68 92" == "68 92") (3/3)
  411.  Passed: File input: ("82 91" == "82 91") (3/3)
  412. Unit test 3: matrix transpose hardcoded test
  413. # (running score = 33/33)
  414.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  415. Unit test 4: matrix transpose involution test
  416. # (running score = 43/43)
  417.  Passed: m1 == T(T(m1)) (5/5)
  418.  Passed: m2 == T(T(m2)) (5/5)
  419.  Passed: m3 == T(T(m3)) (5/5)
  420. Unit test 5: matrix mean test
  421. # (running score = 58/58)
  422.  Passed: zero matrix (2/2)
  423.  Passed: ones matrix (5/5)
  424.  Passed: identity matrix (5/5)
  425.  Passed: hardcoded matrix (15/15)
  426. Unit test 6: matrix add test
  427. # (running score = 85/85)
  428.  Passed: 0 + 0 == 0 (2/2)
  429.  Passed: X + 0 == X (5/5)
  430.  Passed: 0 + X == X (5/5)
  431.  Passed: A + B == B + A (1/1)
  432.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  433. Unit test 7: matrix multiply test
  434. # (running score = 113/113)
  435.  Passed: I * M == M (5/5)
  436.  Passed: M * I == M (5/5)
  437.  Passed: 0 * M == 0 (5/5)
  438.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  439. # Final grade: 148/148
  440. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  441. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  442. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  443. Unit test 1: error messages
  444. # (running score = 0/0)
  445.  Passed: too many args to matrix dims (1/1)
  446.  Passed: no args to matrix add (1/1)
  447.  Passed: multiplying incompatible matrices (5/5)
  448.  Passed: adding incompatible matrices (4/4)
  449.  Passed: tranpose unreadable file (2/2)
  450.  Passed: get dims of nonexistent file (1/1)
  451.  Passed: matrix badcommand (1/1)
  452. Unit test 2: matrix dims tests
  453. # (running score = 15/15)
  454.  Passed: Stdin: ("77 70" == "77 70") (3/3)
  455.  Passed: Stdin: ("81 99" == "81 99") (3/3)
  456.  Passed: Stdin: ("73 51" == "73 51") (3/3)
  457.  Passed: File input: ("62 76" == "62 76") (3/3)
  458.  Passed: File input: ("60 83" == "60 83") (3/3)
  459.  Passed: File input: ("64 70" == "64 70") (3/3)
  460. Unit test 3: matrix transpose hardcoded test
  461. # (running score = 33/33)
  462.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  463. Unit test 4: matrix transpose involution test
  464. # (running score = 43/43)
  465.  Failed: m1 == T(T(m1)) (0/5)
  466.  Failed: m2 == T(T(m2)) (0/5)
  467.  Failed: m3 == T(T(m3)) (0/5)
  468. Unit test 5: matrix mean test
  469. # (running score = 43/58)
  470.  Passed: zero matrix (2/2)
  471.  Passed: ones matrix (5/5)
  472.  Passed: identity matrix (5/5)
  473.  Passed: hardcoded matrix (15/15)
  474. Unit test 6: matrix add test
  475. # (running score = 70/85)
  476.  Passed: 0 + 0 == 0 (2/2)
  477.  Passed: X + 0 == X (5/5)
  478.  Passed: 0 + X == X (5/5)
  479.  Passed: A + B == B + A (1/1)
  480.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  481. Unit test 7: matrix multiply test
  482. # (running score = 98/113)
  483.  Passed: I * M == M (5/5)
  484.  Passed: M * I == M (5/5)
  485.  Passed: 0 * M == 0 (5/5)
  486.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  487. # Final grade: 133/148
  488. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  489. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  490. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  491. Unit test 1: error messages
  492. # (running score = 0/0)
  493.  Passed: too many args to matrix dims (1/1)
  494.  Passed: no args to matrix add (1/1)
  495.  Passed: multiplying incompatible matrices (5/5)
  496.  Passed: adding incompatible matrices (4/4)
  497.  Passed: tranpose unreadable file (2/2)
  498.  Passed: get dims of nonexistent file (1/1)
  499.  Passed: matrix badcommand (1/1)
  500. Unit test 2: matrix dims tests
  501. # (running score = 15/15)
  502.  Passed: Stdin: ("89 79" == "89 79") (3/3)
  503.  Passed: Stdin: ("80 60" == "80 60") (3/3)
  504.  Passed: Stdin: ("100 93" == "100 93") (3/3)
  505.  Passed: File input: ("76 77" == "76 77") (3/3)
  506.  Passed: File input: ("97 70" == "97 70") (3/3)
  507.  Passed: File input: ("63 66" == "63 66") (3/3)
  508. Unit test 3: matrix transpose hardcoded test
  509. # (running score = 33/33)
  510.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  511. Unit test 4: matrix transpose involution test
  512. # (running score = 43/43)
  513.  Passed: m1 == T(T(m1)) (5/5)
  514.  Passed: m2 == T(T(m2)) (5/5)
  515.  Passed: m3 == T(T(m3)) (5/5)
  516. Unit test 5: matrix mean test
  517. # (running score = 58/58)
  518.  Passed: zero matrix (2/2)
  519.  Passed: ones matrix (5/5)
  520.  Passed: identity matrix (5/5)
  521.  Passed: hardcoded matrix (15/15)
  522. Unit test 6: matrix add test
  523. # (running score = 85/85)
  524.  Passed: 0 + 0 == 0 (2/2)
  525.  Passed: X + 0 == X (5/5)
  526.  Passed: 0 + X == X (5/5)
  527.  Passed: A + B == B + A (1/1)
  528.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  529. Unit test 7: matrix multiply test
  530. # (running score = 113/113)
  531.  Passed: I * M == M (5/5)
  532.  Passed: M * I == M (5/5)
  533.  Passed: 0 * M == 0 (5/5)
  534.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  535. # Final grade: 148/148
  536. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  537. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  538. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  539. Unit test 1: error messages
  540. # (running score = 0/0)
  541.  Passed: too many args to matrix dims (1/1)
  542.  Passed: no args to matrix add (1/1)
  543.  Passed: multiplying incompatible matrices (5/5)
  544.  Passed: adding incompatible matrices (4/4)
  545.  Passed: tranpose unreadable file (2/2)
  546.  Passed: get dims of nonexistent file (1/1)
  547.  Passed: matrix badcommand (1/1)
  548. Unit test 2: matrix dims tests
  549. # (running score = 15/15)
  550.  Passed: Stdin: ("53 73" == "53 73") (3/3)
  551.  Passed: Stdin: ("92 67" == "92 67") (3/3)
  552.  Passed: Stdin: ("79 60" == "79 60") (3/3)
  553.  Passed: File input: ("77 57" == "77 57") (3/3)
  554.  Passed: File input: ("84 92" == "84 92") (3/3)
  555.  Passed: File input: ("95 88" == "95 88") (3/3)
  556. Unit test 3: matrix transpose hardcoded test
  557. # (running score = 33/33)
  558.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  559. Unit test 4: matrix transpose involution test
  560. # (running score = 43/43)
  561.  Failed: m1 == T(T(m1)) (0/5)
  562.  Failed: m2 == T(T(m2)) (0/5)
  563.  Failed: m3 == T(T(m3)) (0/5)
  564. Unit test 5: matrix mean test
  565. # (running score = 43/58)
  566.  Passed: zero matrix (2/2)
  567.  Passed: ones matrix (5/5)
  568.  Passed: identity matrix (5/5)
  569.  Passed: hardcoded matrix (15/15)
  570. Unit test 6: matrix add test
  571. # (running score = 70/85)
  572.  Passed: 0 + 0 == 0 (2/2)
  573.  Passed: X + 0 == X (5/5)
  574. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  575. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  576. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  577. Unit test 1: error messages
  578. # (running score = 0/0)
  579.  Passed: too many args to matrix dims (1/1)
  580.  Passed: no args to matrix add (1/1)
  581.  Passed: multiplying incompatible matrices (5/5)
  582.  Passed: adding incompatible matrices (4/4)
  583.  Passed: tranpose unreadable file (2/2)
  584.  Passed: get dims of nonexistent file (1/1)
  585.  Passed: matrix badcommand (1/1)
  586. Unit test 2: matrix dims tests
  587. # (running score = 15/15)
  588.  Failed: Stdin: ("0 0" == "58 99") (0/3)
  589.  Failed: Stdin: ("0 0" == "77 87") (0/3)
  590.  Failed: Stdin: ("0 0" == "66 59") (0/3)
  591.  Passed: File input: ("60 84" == "60 84") (3/3)
  592. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  593. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  594. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  595. Unit test 1: error messages
  596. # (running score = 0/0)
  597.  Passed: too many args to matrix dims (1/1)
  598.  Passed: no args to matrix add (1/1)
  599.  Passed: multiplying incompatible matrices (5/5)
  600.  Passed: adding incompatible matrices (4/4)
  601.  Passed: tranpose unreadable file (2/2)
  602.  Passed: get dims of nonexistent file (1/1)
  603.  Passed: matrix badcommand (1/1)
  604. Unit test 2: matrix dims tests
  605. # (running score = 15/15)
  606.  Passed: Stdin: ("80 68" == "80 68") (3/3)
  607.  Passed: Stdin: ("92 84" == "92 84") (3/3)
  608.  Passed: Stdin: ("92 98" == "92 98") (3/3)
  609.  Passed: File input: ("62 58" == "62 58") (3/3)
  610.  Passed: File input: ("81 65" == "81 65") (3/3)
  611.  Passed: File input: ("100 76" == "100 76") (3/3)
  612. Unit test 3: matrix transpose hardcoded test
  613. # (running score = 33/33)
  614.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  615. Unit test 4: matrix transpose involution test
  616. # (running score = 43/43)
  617.  Passed: m1 == T(T(m1)) (5/5)
  618.  Passed: m2 == T(T(m2)) (5/5)
  619.  Passed: m3 == T(T(m3)) (5/5)
  620. Unit test 5: matrix mean test
  621. # (running score = 58/58)
  622.  Passed: zero matrix (2/2)
  623.  Passed: ones matrix (5/5)
  624.  Passed: identity matrix (5/5)
  625.  Passed: hardcoded matrix (15/15)
  626. Unit test 6: matrix add test
  627. # (running score = 85/85)
  628.  Passed: 0 + 0 == 0 (2/2)
  629.  Passed: X + 0 == X (5/5)
  630.  Passed: 0 + X == X (5/5)
  631.  Passed: A + B == B + A (1/1)
  632.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  633. Unit test 7: matrix multiply test
  634. # (running score = 113/113)
  635.  Passed: I * M == M (5/5)
  636.  Passed: M * I == M (5/5)
  637.  Passed: 0 * M == 0 (5/5)
  638.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  639. # Final grade: 148/148
  640. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  641. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  642. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  643. Unit test 1: error messages
  644. # (running score = 0/0)
  645.  Passed: too many args to matrix dims (1/1)
  646.  Passed: no args to matrix add (1/1)
  647.  Passed: multiplying incompatible matrices (5/5)
  648.  Passed: adding incompatible matrices (4/4)
  649.  Passed: tranpose unreadable file (2/2)
  650.  Passed: get dims of nonexistent file (1/1)
  651.  Passed: matrix badcommand (1/1)
  652. Unit test 2: matrix dims tests
  653. # (running score = 15/15)
  654.  Passed: Stdin: ("73 60" == "73 60") (3/3)
  655.  Passed: Stdin: ("86 89" == "86 89") (3/3)
  656.  Passed: Stdin: ("99 91" == "99 91") (3/3)
  657.  Passed: File input: ("74 87" == "74 87") (3/3)
  658.  Passed: File input: ("71 76" == "71 76") (3/3)
  659.  Passed: File input: ("88 68" == "88 68") (3/3)
  660. Unit test 3: matrix transpose hardcoded test
  661. # (running score = 33/33)
  662.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  663. Unit test 4: matrix transpose involution test
  664. # (running score = 43/43)
  665.  Passed: m1 == T(T(m1)) (5/5)
  666.  Passed: m2 == T(T(m2)) (5/5)
  667.  Passed: m3 == T(T(m3)) (5/5)
  668. Unit test 5: matrix mean test
  669. # (running score = 58/58)
  670.  Passed: zero matrix (2/2)
  671.  Passed: ones matrix (5/5)
  672.  Passed: identity matrix (5/5)
  673.  Passed: hardcoded matrix (15/15)
  674. Unit test 6: matrix add test
  675. # (running score = 85/85)
  676.  Passed: 0 + 0 == 0 (2/2)
  677.  Passed: X + 0 == X (5/5)
  678.  Passed: 0 + X == X (5/5)
  679.  Passed: A + B == B + A (1/1)
  680.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  681. Unit test 7: matrix multiply test
  682. # (running score = 113/113)
  683.  Passed: I * M == M (5/5)
  684.  Passed: M * I == M (5/5)
  685.  Passed: 0 * M == 0 (5/5)
  686.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  687. # Final grade: 148/148
  688. ┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
  689. ┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
  690. ┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
  691. Unit test 1: error messages
  692. # (running score = 0/0)
  693.  Passed: too many args to matrix dims (1/1)
  694.  Passed: no args to matrix add (1/1)
  695.  Passed: multiplying incompatible matrices (5/5)
  696.  Passed: adding incompatible matrices (4/4)
  697.  Passed: tranpose unreadable file (2/2)
  698.  Passed: get dims of nonexistent file (1/1)
  699.  Passed: matrix badcommand (1/1)
  700. Unit test 2: matrix dims tests
  701. # (running score = 15/15)
  702.  Passed: Stdin: ("65 72" == "65 72") (3/3)
  703.  Passed: Stdin: ("56 70" == "56 70") (3/3)
  704.  Passed: Stdin: ("71 59" == "71 59") (3/3)
  705.  Passed: File input: ("51 86" == "51 86") (3/3)
  706.  Passed: File input: ("88 58" == "88 58") (3/3)
  707.  Passed: File input: ("56 77" == "56 77") (3/3)
  708. Unit test 3: matrix transpose hardcoded test
  709. # (running score = 33/33)
  710.  Passed: m1 == T(m2) and T(m1) == m2 (10/10)
  711. Unit test 4: matrix transpose involution test
  712. # (running score = 43/43)
  713.  Passed: m1 == T(T(m1)) (5/5)
  714.  Passed: m2 == T(T(m2)) (5/5)
  715.  Passed: m3 == T(T(m3)) (5/5)
  716. Unit test 5: matrix mean test
  717. # (running score = 58/58)
  718.  Passed: zero matrix (2/2)
  719.  Passed: ones matrix (5/5)
  720.  Passed: identity matrix (5/5)
  721.  Passed: hardcoded matrix (15/15)
  722. Unit test 6: matrix add test
  723. # (running score = 85/85)
  724.  Passed: 0 + 0 == 0 (2/2)
  725.  Passed: X + 0 == X (5/5)
  726.  Passed: 0 + X == X (5/5)
  727.  Passed: A + B == B + A (1/1)
  728.  Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
  729. Unit test 7: matrix multiply test
  730. # (running score = 113/113)
  731.  Passed: I * M == M (5/5)
  732.  Passed: M * I == M (5/5)
  733.  Passed: 0 * M == 0 (5/5)
  734.  Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
  735. # Final grade: 148/148
  736.