예제 #1
0
파일: test_dagmc.py 프로젝트: pyne/pyne
def boundary():
    from pyne import dagmc

    dagmc.load(path)

    low, high = dagmc.volume_boundary(2)
    return [low, high]
예제 #2
0
def boundary():
    from pyne import dagmc
    dagmc.load(path)

    low, high = dagmc.volume_boundary(2)
    for i in range(0, 3):
        assert_true(low[i] <= -1.0)
        assert_true(high[i] >= 1.0)
예제 #3
0
def boundary():
    from pyne import dagmc
    dagmc.load(path)
    
    low, high = dagmc.volume_boundary(2)
    for i in range(0, 3):
        assert_true(low[i] <= -1.0)
        assert_true(high[i] >= 1.0)
예제 #4
0
 def test_boundary(self):
     low, high = dagmc.volume_boundary(2)
     for i in range(0, 3):
         self.assertTrue(low[i] <= -1.0)
         self.assertTrue(high[i] >= 1.0)
예제 #5
0
 def test_boundary(self):
     low, high = dagmc.volume_boundary(2)
     for i in range(0, 3):
         self.assertTrue(low[i] <= -1.0)
         self.assertTrue(high[i] >= 1.0)