123456789101112131415161718 |
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- from draugr.python_utilities import recycle
- __author__ = "Christian Heider Nielsen"
- __doc__ = r"""
- Created on 28/10/2019
- """
- def test_recycle1():
- a = range(9)
- for i, b in zip(range(18), recycle(a)):
- assert b in a
- assert i == 17
|