13 lines
220 B
Python
13 lines
220 B
Python
|
from python_project_template import infinitum
|
||
|
|
||
|
|
||
|
|
||
|
def test_infinitum():
|
||
|
"""
|
||
|
Tests the infinite random number generator.
|
||
|
"""
|
||
|
|
||
|
for random in infinitum():
|
||
|
assert type(random) == int
|
||
|
break
|