UNPKG

263 Btext/coffeescriptView Raw
1test_adj = ->
2 run_test [
3
4 "adj([[a,b],[c,d]])",
5 "[[d,-b],[-c,a]]",
6
7 "adj([[1,2],[3,4]])",
8 "[[4,-2],[-3,1]]",
9
10 "adj([[2,3,-2,5],[6,-2,1,4],[5,10,3,-2],[-1,2,2,3]])",
11 "[[-4,-177,-73,194],[-117,117,-99,-27],[310,-129,-44,-374],[-130,-51,71,-211]]",
12 ]
13