def test_random_with_range(self):
        mod = gm.pore_misc.random
        self.geo.models.add(model=mod,
                            propname='pore.seed',
                            num_range=[0.1, 0.9])
        assert sp.amax(self.geo['pore.seed']) <= 0.9
        assert sp.amin(self.geo['pore.seed']) >= 0.1
dataset/ETHPy150Open PMEAL/OpenPNM/test/unit/Geometry/models/PoreMiscTest.py/PoreMiscTest.test_random_with_range/original