'Check whether outputs intersect and whether length of outputs sums
to length of original data'

def test_no_intersection_in_outputs(self):

    self.send_signal('Data', self.zoo)
    w = self.widget
    sampling_types = [w.FixedProportion, w.FixedSize, w.CrossValidation]
    for replicable in [True, False]:
        for stratified in [True, False]:
            for sampling_type in sampling_types:
                self.widget.cb_seed.setChecked(replicable)
                self.widget.cb_stratify.setChecked(stratified)
                self.select_sampling_type(sampling_type)
                self.widget.commit()
                sample = self.get_output('Data    Sample')
                other = self.get_output('Remaining    Data')
                self.assertEqual(len(self.zoo), (len(sample) + len(other)))
                self.assertNoIntersection(sample, other)
