12345678910111213141516171819202122232425 |
- package server;
- import static org.junit.Assert.*;
- import org.junit.AfterClass;
- import org.junit.BeforeClass;
- import org.junit.Test;
- public class ServerTestCase {
-
- @BeforeClass
- public static void setUpClass() {
- ServerTestSuite.runServer.start();
- }
-
- @Test
- public void testCInt() {
- assertEquals(Server.CInt("832"), 832);
- }
-
- @AfterClass
- public static void tearDownClass() {
- Server.exit();
- }
- }
|