Test basic chart generation
()
| 9 | from a3s_code import Agent, SessionOptions |
| 10 | |
| 11 | def test_basic_chart(): |
| 12 | """Test basic chart generation""" |
| 13 | print("=" * 60) |
| 14 | print("Test 1: Basic Line Chart") |
| 15 | print("=" * 60) |
| 16 | |
| 17 | agent = Agent.create("agent.acl") |
| 18 | session = agent.session(".", builtin_skills=True) |
| 19 | |
| 20 | result = session.send(""" |
| 21 | Create a line chart showing quarterly sales: |
| 22 | Q1: 120, Q2: 150, Q3: 180, Q4: 220 |
| 23 | Use vis-chart format. |
| 24 | """) |
| 25 | |
| 26 | print(result.text) |
| 27 | print() |
| 28 | |
| 29 | def test_data_file_chart(): |
| 30 | """Test chart generation from data file""" |
no test coverage detected