✨Feat: 实现天气消息卡片
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
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();
|
||||
Weather weather = weatherUtil.getWeather();
|
||||
System.out.println(weather);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user