| 1362 | |
| 1363 | |
| 1364 | class TestCInt(TraitTestBase): |
| 1365 | obj = CIntTrait() |
| 1366 | |
| 1367 | _default_value = 5 |
| 1368 | _good_values = ["10", "-10", 10, 10.0, -10.0, 10.1] |
| 1369 | _bad_values = ["ten", [10], {"ten": 10}, (10,), None, 1j, "10.1"] |
| 1370 | |
| 1371 | def coerce(self, n): |
| 1372 | return int(n) |
| 1373 | |
| 1374 | |
| 1375 | class MinBoundCIntTrait(HasTraits): |
nothing calls this directly
no test coverage detected
searching dependent graphs…