Ejemplo n.º 1
0
 def test_resolve(self):
     url = astronautix.resolve('RS-25')
Ejemplo n.º 2
0
 def test_resolve(self):
     url = astronautix.resolve('flox')
Ejemplo n.º 3
0
 def test_query(self):
     url = astronautix.resolve('flox')
     model = astronautix.query(url)
     Isp_sl = astronautix.getValue(model, 'Specific impulse sea level')
     expected = 316.0
     self.assertTrue(abs(expected - Isp_sl) / expected < 1e-3)
Ejemplo n.º 4
0
 def test_resolve(self):
     url = astronautix.resolve('X-37b')
Ejemplo n.º 5
0
 def test_query(self):
     url = astronautix.resolve('X-37b')
     model = astronautix.query(url)
     span = astronautix.getValue(model, 'Span')
     expected = 4.57
     self.assertTrue(abs(expected - span) / expected < 1e-3)
Ejemplo n.º 6
0
 def test_resolve(self):
     url = astronautix.resolve('RS-25')
Ejemplo n.º 7
0
 def test_query(self):
     url = astronautix.resolve('RS-25')
     model = astronautix.query(url)
     areaRatio = astronautix.getValue(model, 'Area Ratio')
     expected = 77.5
     self.assertTrue(abs(expected - areaRatio) / expected < 1e-3)
Ejemplo n.º 8
0
 def test_query(self):
     url = astronautix.resolve('flox')
     model = astronautix.query(url)
     Isp_sl = astronautix.getValue(model, 'Specific impulse sea level')
     expected = 316.0
     self.assertTrue(abs(expected - Isp_sl) / expected < 1e-3)
Ejemplo n.º 9
0
 def test_resolve(self):
     url = astronautix.resolve('flox')
Ejemplo n.º 10
0
 def test_query(self):
     url = astronautix.resolve('X-37b')
     model = astronautix.query(url)
     span = astronautix.getValue(model, 'Span')
     expected = 4.57
     self.assertTrue(abs(expected - span) / expected < 1e-3)
Ejemplo n.º 11
0
 def test_resolve(self):
     url = astronautix.resolve('X-37b')
Ejemplo n.º 12
0
 def test_query(self):
     url = astronautix.resolve('RS-25')
     model = astronautix.query(url)
     areaRatio = astronautix.getValue(model, 'Area Ratio')
     expected = 77.5
     self.assertTrue(abs(expected - areaRatio) / expected < 1e-3)