Example #1
0
 def test_real_attenuation(self):
     oe = sg_to_plato(1.060)
     ae = sg_to_plato(1.010)
     re = apparent_extract_to_real_extract(oe, ae)
     out = real_attenuation(oe, re)
     self.assertEquals(round(out, 2), 0.67)
Example #2
0
 def test_apparent_extract_to_real_extract(self):
     oe = sg_to_plato(1.060)
     ae = sg_to_plato(1.010)
     out = apparent_extract_to_real_extract(oe, ae)
     self.assertEquals(round(out, 2), 4.88)
 def test_real_attenuation(self):
     oe = sg_to_plato(1.060)
     ae = sg_to_plato(1.010)
     re = apparent_extract_to_real_extract(oe, ae)
     out = real_attenuation(oe, re)
     self.assertEquals(round(out, 2), 0.67)
Example #4
0
 def test_apparent_extract_to_real_extract(self):
     oe = sg_to_plato(1.060)
     ae = sg_to_plato(1.010)
     out = apparent_extract_to_real_extract(oe, ae)
     self.assertEquals(round(out, 2), 4.88)