Test timeit()

Increase coverage
This commit is contained in:
Unknown 2020-06-24 15:25:58 -04:00
parent 0a1ab1a9a5
commit 35ce6b4d8e

View File

@ -1,6 +1,6 @@
import pytest import pytest
from translater import utils from translater import utils, timeit
def test_rotate(config): def test_rotate(config):
@ -11,7 +11,7 @@ def test_rotate(config):
assert (l2 == [2, 3, 1]) assert (l2 == [2, 3, 1])
@timeit
def test_lcm(config): def test_lcm(config):
# This function takes two integers and returns the L.C.M. # This function takes two integers and returns the L.C.M.
x = 10 x = 10