pub fn validate_query(
data: &Dataset,
x: usize,
y: usize,
z: &[usize],
) -> Result<(), CIError>Expand description
Validate a (x, y, z) query against data before running a test.
Checks, in order: all column indices are in range
(CIError::UnknownColumn); x != y; x/y do not appear in z; z
has no duplicates (all CIError::InvalidQuery). Called by the provided
CITest::test so every test is validated uniformly.
ยงErrors
Returns the first violated rule as described above.