"""
Test the numpy type validation fix
"""

import numpy as np
from gspy_interface_robust import run_modflow_step

# Test with parameters that should trigger MODFLOW simulation
args = [
    0.0007,  # recharge (m/day)
    0.4,     # storage_rate
    0.35,    # max_additional (m³/s)
    0.06,    # base_flow (m³/s)
    1.0,     # hk (m/day)
    0.05,    # sy
    10.0     # river_conductance (m²/day)
]

print("Testing GSPy interface with numpy validation fix...")
print(f"Input args: {args}")

result = run_modflow_step(*args)
print(f"Result: {result}")
print(f"Result type: {type(result)}")
print(f"Result value type: {type(result[0])}")
print(f"Result value: {result[0]}")