Test generating multiple charts
()
| 58 | print() |
| 59 | |
| 60 | def test_multiple_charts(): |
| 61 | """Test generating multiple charts""" |
| 62 | print("=" * 60) |
| 63 | print("Test 3: Multiple Charts") |
| 64 | print("=" * 60) |
| 65 | |
| 66 | agent = Agent.create("agent.acl") |
| 67 | session = agent.session(".", builtin_skills=True) |
| 68 | |
| 69 | result = session.send(""" |
| 70 | Create two charts using vis-chart format: |
| 71 | |
| 72 | 1. Line chart: Monthly revenue (Jan: 45k, Feb: 52k, Mar: 48k, Apr: 61k) |
| 73 | 2. Pie chart: Browser share (Chrome: 65%, Firefox: 15%, Safari: 12%, Edge: 8%) |
| 74 | """) |
| 75 | |
| 76 | print(result.text) |
| 77 | print() |
| 78 | |
| 79 | def test_chart_type_selection(): |
| 80 | """Test automatic chart type selection""" |
no test coverage detected