lbeckman314 пре 3 година
родитељ
комит
09acf2ddb1
3 измењених фајлова са 0 додато и 736 уклоњено
  1. 0
    0
      helper_scripts/blankLines
  2. 0
    0
      helper_scripts/generate
  3. 0
    736
      p1grading_result

blankLines → helper_scripts/blankLines Прегледај датотеку


generate → helper_scripts/generate Прегледај датотеку


+ 0
- 736
p1grading_result Прегледај датотеку

@@ -1,736 +0,0 @@
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("58 75" == "58 75") (3/3)
 Passed: Stdin: ("51 71" == "51 71") (3/3)
 Passed: Stdin: ("89 90" == "89 90") (3/3)
 Passed: File input: ("72 86" == "72 86") (3/3)
 Passed: File input: ("54 100" == "54 100") (3/3)
 Passed: File input: ("52 61" == "52 61") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("92 78" == "92 78") (3/3)
 Passed: Stdin: ("86 78" == "86 78") (3/3)
 Passed: Stdin: ("94 99" == "94 99") (3/3)
 Passed: File input: ("95 95" == "95 95") (3/3)
 Passed: File input: ("69 89" == "69 89") (3/3)
 Passed: File input: ("98 51" == "98 51") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("54 64" == "54 64") (3/3)
 Passed: Stdin: ("78 88" == "78 88") (3/3)
 Passed: Stdin: ("64 96" == "64 96") (3/3)
 Passed: File input: ("78 98" == "78 98") (3/3)
 Passed: File input: ("53 89" == "53 89") (3/3)
 Passed: File input: ("65 80" == "65 80") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("85 61" == "85 61") (3/3)
 Passed: Stdin: ("97 97" == "97 97") (3/3)
 Passed: Stdin: ("87 86" == "87 86") (3/3)
 Passed: File input: ("92 88" == "92 88") (3/3)
 Passed: File input: ("92 97" == "92 97") (3/3)
 Passed: File input: ("78 80" == "78 80") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("85 79" == "85 79") (3/3)
 Passed: Stdin: ("70 51" == "70 51") (3/3)
 Passed: Stdin: ("72 78" == "72 78") (3/3)
 Passed: File input: ("59 83" == "59 83") (3/3)
 Passed: File input: ("76 93" == "76 93") (3/3)
 Passed: File input: ("59 76" == "59 76") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("56 69" == "56 69") (3/3)
 Passed: Stdin: ("96 95" == "96 95") (3/3)
 Passed: Stdin: ("98 69" == "98 69") (3/3)
 Passed: File input: ("76 98" == "76 98") (3/3)
 Passed: File input: ("97 71" == "97 71") (3/3)
 Passed: File input: ("68 73" == "68 73") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("59 67" == "59 67") (3/3)
 Passed: Stdin: ("65 79" == "65 79") (3/3)
 Passed: Stdin: ("63 80" == "63 80") (3/3)
 Passed: File input: ("95 80" == "95 80") (3/3)
 Passed: File input: ("93 57" == "93 57") (3/3)
 Passed: File input: ("87 85" == "87 85") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("74 92" == "74 92") (3/3)
 Passed: Stdin: ("74 94" == "74 94") (3/3)
 Passed: Stdin: ("85 89" == "85 89") (3/3)
 Passed: File input: ("61 71" == "61 71") (3/3)
 Passed: File input: ("63 55" == "63 55") (3/3)
 Passed: File input: ("88 65" == "88 65") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("98 97" == "98 97") (3/3)
 Passed: Stdin: ("64 73" == "64 73") (3/3)
 Passed: Stdin: ("79 98" == "79 98") (3/3)
 Passed: File input: ("65 77" == "65 77") (3/3)
 Passed: File input: ("68 92" == "68 92") (3/3)
 Passed: File input: ("82 91" == "82 91") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("77 70" == "77 70") (3/3)
 Passed: Stdin: ("81 99" == "81 99") (3/3)
 Passed: Stdin: ("73 51" == "73 51") (3/3)
 Passed: File input: ("62 76" == "62 76") (3/3)
 Passed: File input: ("60 83" == "60 83") (3/3)
 Passed: File input: ("64 70" == "64 70") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Failed: m1 == T(T(m1)) (0/5)
 Failed: m2 == T(T(m2)) (0/5)
 Failed: m3 == T(T(m3)) (0/5)
Unit test 5: matrix mean test
# (running score = 43/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 70/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 98/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 133/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("89 79" == "89 79") (3/3)
 Passed: Stdin: ("80 60" == "80 60") (3/3)
 Passed: Stdin: ("100 93" == "100 93") (3/3)
 Passed: File input: ("76 77" == "76 77") (3/3)
 Passed: File input: ("97 70" == "97 70") (3/3)
 Passed: File input: ("63 66" == "63 66") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("53 73" == "53 73") (3/3)
 Passed: Stdin: ("92 67" == "92 67") (3/3)
 Passed: Stdin: ("79 60" == "79 60") (3/3)
 Passed: File input: ("77 57" == "77 57") (3/3)
 Passed: File input: ("84 92" == "84 92") (3/3)
 Passed: File input: ("95 88" == "95 88") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Failed: m1 == T(T(m1)) (0/5)
 Failed: m2 == T(T(m2)) (0/5)
 Failed: m3 == T(T(m3)) (0/5)
Unit test 5: matrix mean test
# (running score = 43/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 70/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Failed: Stdin: ("0 0" == "58 99") (0/3)
 Failed: Stdin: ("0 0" == "77 87") (0/3)
 Failed: Stdin: ("0 0" == "66 59") (0/3)
 Passed: File input: ("60 84" == "60 84") (3/3)
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("80 68" == "80 68") (3/3)
 Passed: Stdin: ("92 84" == "92 84") (3/3)
 Passed: Stdin: ("92 98" == "92 98") (3/3)
 Passed: File input: ("62 58" == "62 58") (3/3)
 Passed: File input: ("81 65" == "81 65") (3/3)
 Passed: File input: ("100 76" == "100 76") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("73 60" == "73 60") (3/3)
 Passed: Stdin: ("86 89" == "86 89") (3/3)
 Passed: Stdin: ("99 91" == "99 91") (3/3)
 Passed: File input: ("74 87" == "74 87") (3/3)
 Passed: File input: ("71 76" == "71 76") (3/3)
 Passed: File input: ("88 68" == "88 68") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148
┏┓ ┏━╸┏━╸╻┏┓╻┏┓╻╻┏┓╻┏━╸ ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ╺┳╸┏━╸┏━┓╺┳╸
┣┻┓┣╸ ┃╺┓┃┃┗┫┃┗┫┃┃┗┫┃╺┓ ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┃ ┣╸ ┗━┓ ┃
┗━┛┗━╸┗━┛╹╹ ╹╹ ╹╹╹ ╹┗━┛ ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ┗━╸┗━┛ ╹
Unit test 1: error messages
# (running score = 0/0)
 Passed: too many args to matrix dims (1/1)
 Passed: no args to matrix add (1/1)
 Passed: multiplying incompatible matrices (5/5)
 Passed: adding incompatible matrices (4/4)
 Passed: tranpose unreadable file (2/2)
 Passed: get dims of nonexistent file (1/1)
 Passed: matrix badcommand (1/1)
Unit test 2: matrix dims tests
# (running score = 15/15)
 Passed: Stdin: ("65 72" == "65 72") (3/3)
 Passed: Stdin: ("56 70" == "56 70") (3/3)
 Passed: Stdin: ("71 59" == "71 59") (3/3)
 Passed: File input: ("51 86" == "51 86") (3/3)
 Passed: File input: ("88 58" == "88 58") (3/3)
 Passed: File input: ("56 77" == "56 77") (3/3)
Unit test 3: matrix transpose hardcoded test
# (running score = 33/33)
 Passed: m1 == T(m2) and T(m1) == m2 (10/10)
Unit test 4: matrix transpose involution test
# (running score = 43/43)
 Passed: m1 == T(T(m1)) (5/5)
 Passed: m2 == T(T(m2)) (5/5)
 Passed: m3 == T(T(m3)) (5/5)
Unit test 5: matrix mean test
# (running score = 58/58)
 Passed: zero matrix (2/2)
 Passed: ones matrix (5/5)
 Passed: identity matrix (5/5)
 Passed: hardcoded matrix (15/15)
Unit test 6: matrix add test
# (running score = 85/85)
 Passed: 0 + 0 == 0 (2/2)
 Passed: X + 0 == X (5/5)
 Passed: 0 + X == X (5/5)
 Passed: A + B == B + A (1/1)
 Passed: m1 + m2 == m3 (hardcoded matrix) (15/15)
Unit test 7: matrix multiply test
# (running score = 113/113)
 Passed: I * M == M (5/5)
 Passed: M * I == M (5/5)
 Passed: 0 * M == 0 (5/5)
 Passed: m3 == m1 * m2 (hardcoded matrix) (20/20)
# Final grade: 148/148


Loading…
Откажи
Сачувај