A bundle of arguments to be passed to a test case, with an identifying name, the operands a and b, and a set of tags to filter the tests
(self, name, a, b, tags=set())
| 75 | |
| 76 | class LinalgCase: |
| 77 | def __init__(self, name, a, b, tags=set()): |
| 78 | """ |
| 79 | A bundle of arguments to be passed to a test case, with an identifying |
| 80 | name, the operands a and b, and a set of tags to filter the tests |
| 81 | """ |
| 82 | assert_(isinstance(name, str)) |
| 83 | self.name = name |
| 84 | self.a = a |
| 85 | self.b = b |
| 86 | self.tags = frozenset(tags) # prevent shared tags |
| 87 | |
| 88 | def check(self, do): |
| 89 | """ |