Ejemplo n.º 1
0
 def test_calm(self):
     self.assertEqual(0, knots_to_beaufort(0.5))
Ejemplo n.º 2
0
 def test_violent_storm(self):
     self.assertEqual(11, knots_to_beaufort(56.))
Ejemplo n.º 3
0
 def test_huricane(self):
     self.assertEqual(12, knots_to_beaufort(64.))
Ejemplo n.º 4
0
 def test_severe_gale(self):
     self.assertEqual(9, knots_to_beaufort(41.))
Ejemplo n.º 5
0
 def test_storm(self):
     self.assertEqual(10, knots_to_beaufort(48.))
Ejemplo n.º 6
0
 def test_near_gale(self):
     self.assertEqual(7, knots_to_beaufort(28.))
Ejemplo n.º 7
0
 def test_gale(self):
     self.assertEqual(8, knots_to_beaufort(34.))
Ejemplo n.º 8
0
 def test_fresh_breeze(self):
     self.assertEqual(5, knots_to_beaufort(17.))
Ejemplo n.º 9
0
 def test_strong_breeze(self):
     self.assertEqual(6, knots_to_beaufort(22.))
Ejemplo n.º 10
0
 def test_moderate_breeze(self):
     self.assertEqual(4, knots_to_beaufort(11.))
Ejemplo n.º 11
0
 def test_gentle_breeze(self):
     self.assertEqual(3, knots_to_beaufort(7.))
Ejemplo n.º 12
0
 def test_light_breeze(self):
     self.assertEqual(2, knots_to_beaufort(4.))
Ejemplo n.º 13
0
 def test_light_air_mid(self):
     self.assertEqual(1, knots_to_beaufort(2.2))
Ejemplo n.º 14
0
 def test_light_air_lowest(self):
     self.assertEqual(1, knots_to_beaufort(1.0))