Update test style
This commit is contained in:
parent
f188724d4b
commit
2db2253578
18 changed files with 778 additions and 686 deletions
9
tests/great_ai/test_great_ai.py
Normal file
9
tests/great_ai/test_great_ai.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from great_ai import GreatAI
|
||||
|
||||
|
||||
def test_process_batch() -> None:
|
||||
@GreatAI.create(return_raw_result=True)
|
||||
def f(x):
|
||||
return x + 2
|
||||
|
||||
assert f.process_batch([3, 9, 34]) == [5, 11, 36]
|
||||
Loading…
Add table
Add a link
Reference in a new issue