2025-12-05 05:16:36 -05:00
|
|
|
package com.example;
|
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
|
|
|
|
|
|
public class AppTest {
|
|
|
|
|
@Test public void testGreet() { App app = new App(); assertEquals("Hello, World!", app.greet()); }
|
2025-12-05 18:17:59 +08:00
|
|
|
@Test
|
|
|
|
|
public void test1() {
|
|
|
|
|
int a = 5;
|
2025-12-05 05:32:53 -05:00
|
|
|
System.out.println(a);
|
2025-12-05 18:17:59 +08:00
|
|
|
}
|
2025-12-05 05:16:36 -05:00
|
|
|
}
|