def test_neighbor_mean(self):
        catch = self.geo.pop('pore.seed', None)
        catch = self.geo.models.pop('pore.seed', None)
        catch = self.geo.models.pop('throat.seed', None)
        mod = gm.pore_misc.neighbor
        self.geo['throat.seed'] = sp.rand(self.net.Nt,)
        self.geo.models.add(model=mod,
                            propname='pore.seed',
                            throat_prop='throat.seed',
                            mode='mean')
        tmax = sp.amax(self.geo['throat.seed'])
        tmin = sp.amin(self.geo['throat.seed'])
        assert sp.all(self.geo['pore.seed'] > tmin)
        assert sp.all(self.geo['pore.seed'] < tmax)
dataset/ETHPy150Open PMEAL/OpenPNM/test/unit/Geometry/models/PoreMiscTest.py/PoreMiscTest.test_neighbor_mean/original