def test_multitrial(self):
        n_trials = 10
        xv = scot.xvschema.multitrial(n_trials)
        for n, (train, test) in enumerate(xv):
            self.assertEqual(len(test), 1)
            self.assertEqual(len(train), n_trials - 1)

            for t in train:
                self.assertTrue(t not in test)

            self.assertEqual(test[0], n)
dataset/ETHPy150Open scot-dev/scot/scot/tests/test_xvschema.py/TestBuiltin.test_multitrial/original