def test_random_elimination_order(self):
        bn = XMLBIFParser.parse("primo2/tests/slippery.xbif")
        order = Orderer.get_random_order(bn)
        variables = ["slippery_road", "winter", "rain", "sprinkler", "wet_grass"]
        self.assertEqual(len(order), len(variables))
        for v in variables:
            self.assertTrue(v in order)