mirror of
https://github.com/louisleroy5/trnslator.git
synced 2024-12-22 23:55:56 -05:00
Test timeit()
Increase coverage
This commit is contained in:
parent
0a1ab1a9a5
commit
35ce6b4d8e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user