예제 #1
0
 def test_timescale_graingrowth(self):
     grow = grow_timescale(500.,3.35e9,1.169e9,6.64e-2,(0.671*6.64e-2))
     grow = grow*1e-6 #in Myr
     assert 86.3 < grow < 86.4
예제 #2
0
 def test_timescale_graingrowth_on(self):
     grow = grow_timescale(True, 500., 3.35e9, 1.169e9, 6.64e-2,
                           (0.671 * 6.64e-2), 0.6)
     assert 0.0863 < grow < 0.15
예제 #3
0
 def test_timescale_graingrowth(self):
     grow = grow_timescale(500.,3.35e9,1.169e9,6.64e-2,(0.671*6.64e-2))
     grow = grow*1e-6 #in Myr
     assert 86.3 < grow < 86.4
예제 #4
0
 def test_timescale_graingrowth_off(self):
     grow = grow_timescale(False, 500., 3.35e9, 1.169e9, 6.64e-2,
                           (0.671 * 6.64e-2), 0.6)
     assert grow == 0