File size: 429 Bytes
463f868
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from ai.gym_env import LoveLiveCardGameEnv

print("Test: Initializing Environment...")
env = LoveLiveCardGameEnv()
print("Test: Resetting...")
obs, info = env.reset()
print(f"Test: Reset Complete. Obs shape: {obs.shape}")

print("Test: Stepping...")
action = env.action_space.sample()
obs, reward, terminated, truncated, info = env.step(action)
print(f"Test: Step Complete. Reward: {reward}")
print("Test: SUCCESS")