Files
stardew-valley/src/test/java/com/wonderland/stardewvalley/util/WeatherUtilTest.java
T

21 lines
508 B
Java
Raw Normal View History

2025-10-26 11:31:21 +08:00
package com.wonderland.stardewvalley.util;
import com.wonderland.stardewvalley.entity.game.Weather;
2025-10-26 13:58:28 +08:00
import jakarta.annotation.Resource;
2025-10-26 11:31:21 +08:00
import org.junit.jupiter.api.Test;
2025-10-26 13:58:28 +08:00
import org.springframework.boot.test.context.SpringBootTest;
2025-10-26 11:31:21 +08:00
import static org.junit.jupiter.api.Assertions.*;
2025-10-26 13:58:28 +08:00
@SpringBootTest
2025-10-26 11:31:21 +08:00
class WeatherUtilTest {
2025-10-26 13:58:28 +08:00
@Resource
private WeatherUtil weatherUtil;
2025-10-26 11:31:21 +08:00
@Test
void getWeather() {
2025-10-26 13:58:28 +08:00
Weather weather = weatherUtil.getWeather();
2025-10-26 11:31:21 +08:00
System.out.println(weather);
}
}