

def test_random(self):
    basic_det = linalg.det
    n = 20
    for i in range(4):
        a = random([n, n])
        d1 = det(n)
        d2 = basic_det(a)
        assert_almost_equal(d1, d2)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestDet.test_random/VarMisuse@45/50 `a`->`n`