コード例 #1
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada_tripla(self):
     montanha = [[1, 2, 3]]
     self.assertEquals(3, esquibunda(montanha))
コード例 #2
0
 def test_lombada_tripla(self):
     montanha = [
         [1, 2, 3]
     ]
     self.assertEquals(3, esquibunda(montanha))
コード例 #3
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada_dupla(self):
     montanha = [[1, 2]]
     self.assertEquals(2, esquibunda(montanha))
コード例 #4
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_4_5_3_2_1(self):
     montanha = [[4, 5, 3, 2, 1]]
     self.assertEquals(4, esquibunda(montanha))
コード例 #5
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_2d(self):
     montanha = [
         [5, 2, 1, 1, 2],
         [4, 3, 0, 1, 2],
     ]
     self.assertEquals(6, esquibunda(montanha))
コード例 #6
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada_tripla_com_vale_central(self):
     montanha = [[2, 1, 3]]
     self.assertEquals(2, esquibunda(montanha))
コード例 #7
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_triplo_twist_carpado_invertido(self):
     montanha = [[3, 2, 2]]
     self.assertEquals(2, esquibunda(montanha))
コード例 #8
0
 def test_triplo_twist_carpado_invertido(self):
     montanha = [
         [3, 2, 2]
     ]
     self.assertEquals(2, esquibunda(montanha))
コード例 #9
0
 def test_4_5_3_2_2(self):
     montanha = [
         [4, 5, 3, 2, 2]
     ]
     self.assertEquals(3, esquibunda(montanha))
コード例 #10
0
 def test_1_1_1(self):
     montanha = [
         [1, 1, 1]
     ]
     self.assertEquals(1, esquibunda(montanha))
コード例 #11
0
 def test_planicie(self):
     montanha = []
     self.assertEquals(0, esquibunda(montanha))
コード例 #12
0
 def test_lombada_tripla_com_vale_central(self):
     montanha = [
         [2, 1, 3]
     ]
     self.assertEquals(2, esquibunda(montanha))
コード例 #13
0
 def test_lombada_dupla_invertida(self):
     montanha = [
         [2, 1]
     ]
     self.assertEquals(2, esquibunda(montanha))
コード例 #14
0
 def test_lombada_tripla_com_pico_central(self):
     montanha = [
         [1, 3, 2]
     ]
     self.assertEquals(2, esquibunda(montanha))
コード例 #15
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada_tripla_com_pico_central(self):
     montanha = [[1, 3, 2]]
     self.assertEquals(2, esquibunda(montanha))
コード例 #16
0
 def test_4_5_3_2_1(self):
     montanha = [
         [4, 5, 3, 2, 1]
     ]
     self.assertEquals(4, esquibunda(montanha))
コード例 #17
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada_dupla_invertida(self):
     montanha = [[2, 1]]
     self.assertEquals(2, esquibunda(montanha))
コード例 #18
0
 def test_5_0_3_2_1(self):
     montanha = [
         [5, 0, 3, 2, 1]
     ]
     self.assertEquals(3, esquibunda(montanha))
コード例 #19
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_1_1_1(self):
     montanha = [[1, 1, 1]]
     self.assertEquals(1, esquibunda(montanha))
コード例 #20
0
 def test_2d(self):
     montanha = [
         [5, 2, 1, 1, 2],
         [4, 3, 0, 1, 2],
     ]
     self.assertEquals(6, esquibunda(montanha))
コード例 #21
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_4_5_3_2_2(self):
     montanha = [[4, 5, 3, 2, 2]]
     self.assertEquals(3, esquibunda(montanha))
コード例 #22
0
 def test_lombada(self):
     montanha = [
         [1]
     ]
     self.assertEquals(1, esquibunda(montanha))
コード例 #23
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_5_0_3_2_1(self):
     montanha = [[5, 0, 3, 2, 1]]
     self.assertEquals(3, esquibunda(montanha))
コード例 #24
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_lombada(self):
     montanha = [[1]]
     self.assertEquals(1, esquibunda(montanha))
コード例 #25
0
ファイル: test_esquibunda.py プロジェクト: vmesel/dojo-centro
 def test_planicie(self):
     montanha = []
     self.assertEquals(0, esquibunda(montanha))
コード例 #26
0
 def test_lombada_dupla(self):
     montanha = [
         [1, 2]
     ]
     self.assertEquals(2, esquibunda(montanha))