提交 8aa4348b authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Added a regression test for bug fixed in ed2e10877458 by Olivier B, note that…

Added a regression test for bug fixed in ed2e10877458 by Olivier B, note that this test would have failed only in FAST_RUN mode, which is currently not enabled by default
上级 0e68b97a
......@@ -522,7 +522,8 @@ DotTester = make_tester(name = 'DotTester',
expected = lambda x, y: numpy.dot(x, y),
checks = {},
good = dict(correct1 = (rand(5, 7), rand(7, 5)),
correct2 = (rand(5, 7), rand(7, 9))),
correct2 = (rand(5, 7), rand(7, 9)),
correct3 = (rand(5, 7), rand(7))),
bad_build = dict(),
bad_runtime = dict(bad1 = (rand(5, 7), rand(5, 7)),
bad2 = (rand(5, 7), rand(8, 3))))
......@@ -1777,7 +1778,7 @@ if __name__ == '__main__':
if 1:
unittest.main()
else:
testcase = AbsInplaceTester
testcase = DotTester
suite = unittest.TestLoader()
suite = suite.loadTestsFromTestCase(testcase)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论