✨Feat: 实现天气消息卡片

This commit is contained in:
2025-10-26 13:58:28 +08:00
parent db41860804
commit c4b5927d9d
8 changed files with 107 additions and 2 deletions
@@ -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);
}
}