|
15 | 15 | */ |
16 | 16 | package io.agentscope.core.agent; |
17 | 17 |
|
| 18 | +import static org.junit.jupiter.api.Assertions.assertEquals; |
| 19 | +import static org.junit.jupiter.api.Assertions.assertFalse; |
| 20 | +import static org.junit.jupiter.api.Assertions.assertInstanceOf; |
| 21 | +import static org.junit.jupiter.api.Assertions.assertNotNull; |
| 22 | +import static org.junit.jupiter.api.Assertions.assertTrue; |
| 23 | +import static org.junit.jupiter.api.Assertions.fail; |
| 24 | + |
18 | 25 | import io.agentscope.core.ReActAgent; |
19 | 26 | import io.agentscope.core.agent.test.MockModel; |
20 | 27 | import io.agentscope.core.agent.test.MockToolkit; |
|
32 | 39 | import io.agentscope.core.model.ChatUsage; |
33 | 40 | import io.agentscope.core.tool.Toolkit; |
34 | 41 | import io.agentscope.core.util.JsonUtils; |
35 | | -import org.junit.jupiter.api.BeforeEach; |
36 | | -import org.junit.jupiter.api.DisplayName; |
37 | | -import org.junit.jupiter.api.Test; |
38 | | - |
39 | 42 | import java.time.Duration; |
40 | 43 | import java.util.Arrays; |
41 | 44 | import java.util.HashMap; |
42 | 45 | import java.util.List; |
43 | 46 | import java.util.Map; |
44 | | - |
45 | | -import static org.junit.jupiter.api.Assertions.assertEquals; |
46 | | -import static org.junit.jupiter.api.Assertions.assertFalse; |
47 | | -import static org.junit.jupiter.api.Assertions.assertInstanceOf; |
48 | | -import static org.junit.jupiter.api.Assertions.assertNotNull; |
49 | | -import static org.junit.jupiter.api.Assertions.assertTrue; |
50 | | -import static org.junit.jupiter.api.Assertions.fail; |
| 47 | +import org.junit.jupiter.api.BeforeEach; |
| 48 | +import org.junit.jupiter.api.DisplayName; |
| 49 | +import org.junit.jupiter.api.Test; |
51 | 50 |
|
52 | 51 | /** |
53 | 52 | * Unit tests for ReActAgent class. |
|
0 commit comments