21 lines
508 B
Java
21 lines
508 B
Java
package com.wonderland.stardewvalley.util;
|
|
|
|
import com.wonderland.stardewvalley.entity.game.Weather;
|
|
import jakarta.annotation.Resource;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
|
|
@SpringBootTest
|
|
class WeatherUtilTest {
|
|
|
|
@Resource
|
|
private WeatherUtil weatherUtil;
|
|
|
|
@Test
|
|
void getWeather() {
|
|
Weather weather = weatherUtil.getWeather();
|
|
System.out.println(weather);
|
|
}
|
|
} |