Пример #1
0
def versions():
    from pyne import dagmc

    dagmc.load(path)

    returned = dagmc.versions()
    return returned
Пример #2
0
def versions():
    from pyne import dagmc
    dagmc.load(path)

    returned = dagmc.versions()
    assert_equal(len(returned), 2)
    assert_true(isinstance(returned[0], STRING_TYPES))
    assert_true(isinstance(returned[1], int))
Пример #3
0
def versions():
    from pyne import dagmc
    dagmc.load(path)
    
    returned = dagmc.versions()
    assert_equal(len(returned), 2)
    assert_true(isinstance(returned[0], STRING_TYPES))
    assert_true(isinstance(returned[1], int))
Пример #4
0
 def test_versions(self):
     returned = dagmc.versions()
     self.assertEqual(len(returned), 2)
     self.assertTrue(isinstance(returned[0], STRING_TYPES))
     self.assertTrue(isinstance(returned[1], int))
Пример #5
0
 def test_versions(self):
     returned = dagmc.versions()
     self.assertEqual(len(returned), 2)
     self.assertTrue(isinstance(returned[0], STRING_TYPES))
     self.assertTrue(isinstance(returned[1], int))