Skip to content

Commit

Permalink
add testcase for code_block data_reflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyongchao committed Nov 12, 2024
1 parent 18e443c commit 98c28e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/basic_tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def test_engine_code(self):
def test_engine_switch(self):
plus1 = dict(id='1', kind='Code', name='m1', args=dict(code='def test(x: int):\n return 1 + x\n'))
double = dict(id='2', kind='Code', name='m2', args=dict(code='def test(x: int):\n return 2 * x\n'))
square = dict(id='3', kind='Code', name='m3', args=dict(code='def test(x: int):\n return x * x\n'))
square = dict(id='3', kind='Code', name='m3',
args=dict(code='def test(x: int):\n return x * x\n', _lazyllm_enable_report=True))
switch = dict(
id="4",
kind="Switch",
Expand Down

0 comments on commit 98c28e3

Please sign in to comment.