+
+static bool
+belongs_to_test (const struct ccase *c, void *aux)
+{
+ const struct n_sample_test *nst = aux;
+
+ const union value *group = case_data (c, nst->indep_var);
+ const size_t group_var_width = var_get_width (nst->indep_var);
+
+ if ( value_equal (group, &nst->val1, group_var_width))
+ return true;
+
+ if ( value_equal (group, &nst->val2, group_var_width))
+ return true;
+
+ return false;
+}
+
+
+