1 2 3 4 5 6 7 8 9 10 11 12
use serde::Deserialize; #[derive(Debug, Deserialize)] pub struct TestCaseGroup<T, G> { pub cases: Vec<TestCase<T, G>>, } #[derive(Debug, Deserialize)] pub struct TestCase<T, G> { pub input: T, pub expectation: G, }