mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Added test for no reason other than to make sure something worked before suggesting it to someone.
This commit is contained in:
parent
01adb33deb
commit
1461535b5d
@ -75,6 +75,8 @@ class FunctionsTest(unittest.TestCase):
|
||||
self.assertEqual(list(itersplit([], lambda x: x)), [])
|
||||
self.assertEqual(list(itersplit(s, lambda c: c.isspace())),
|
||||
map(list, s.split()))
|
||||
self.assertEqual(list(itersplit(['foo', 'for', 'bar'], 'for'.__eq__)),
|
||||
[['foo'], ['bar']])
|
||||
|
||||
def testIterableMap(self):
|
||||
class alist(IterableMap):
|
||||
|
Loading…
Reference in New Issue
Block a user