Example #1
0
 def test_21_segundos(self):
     self.assertEqual((4, 3), formiga(21))
Example #2
0
 def test_10_segundos(self):
     self.assertEqual((3, 1), formiga(10))
Example #3
0
 def test_12_segundos(self):
     self.assertEqual((3, 3), formiga(12))
Example #4
0
 def test_6_segundos(self):
     self.assertEqual((2, 2), formiga(6))
Example #5
0
 def test_8_segundos(self):
     self.assertEqual((2, 0), formiga(8))
Example #6
0
 def test_2_segundos(self):
     self.assertEqual((1, 1), formiga(2))
Example #7
0
 def test_4_segundos(self):
     self.assertEqual((0, 2), formiga(4))
	def test_8_segundos(self):
		self.assertEqual((2, 0), formiga(8))
	def test_9_segundos(self):
		self.assertEqual((3, 0), formiga(9))
Example #10
0
	def test_6_segundos(self):
		self.assertEqual((2, 2), formiga(6))
Example #11
0
	def test_7_segundos(self):
		self.assertEqual((2, 1), formiga(7))
Example #12
0
	def test_5_segundos(self):
		self.assertEqual((1, 2), formiga(5))
Example #13
0
	def test_4_segundos(self):
		self.assertEqual((0, 2), formiga(4))
Example #14
0
	def test_3_segundos(self):
		self.assertEqual((0, 1), formiga(3))
Example #15
0
 def test_1_bilhao_de_segundos(self):
     self.assertEqual((31622, 14128), formiga(10**9))
Example #16
0
	def test_10_segundos(self):
		self.assertEqual((3, 1), formiga(10))
Example #17
0
	def test_2_segundos(self):
		self.assertEqual((1, 1), formiga(2))
Example #18
0
	def test_11_segundos(self):
		self.assertEqual((3, 2), formiga(11))
Example #19
0
 def test_3_segundos(self):
     self.assertEqual((0, 1), formiga(3))
Example #20
0
	def test_12_segundos(self):
		self.assertEqual((3, 3), formiga(12))
Example #21
0
 def test_5_segundos(self):
     self.assertEqual((1, 2), formiga(5))
Example #22
0
	def test_20_segundos(self):
		self.assertEqual((4, 4), formiga(20))
Example #23
0
 def test_7_segundos(self):
     self.assertEqual((2, 1), formiga(7))
Example #24
0
	def test_21_segundos(self):
		self.assertEqual((4, 3), formiga(21))
Example #25
0
 def test_9_segundos(self):
     self.assertEqual((3, 0), formiga(9))
Example #26
0
	def test_19_segundos(self):
		self.assertEqual((3, 4), formiga(19))
Example #27
0
 def test_11_segundos(self):
     self.assertEqual((3, 2), formiga(11))
Example #28
0
	def test_1_bilhao_de_segundos(self):
		self.assertEqual((31622, 14128), formiga(10**9))
Example #29
0
 def test_20_segundos(self):
     self.assertEqual((4, 4), formiga(20))
Example #30
0
	def test_0_segundos(self):
		self.assertEqual((0, 0), formiga(0))
Example #31
0
 def test_19_segundos(self):
     self.assertEqual((3, 4), formiga(19))
Example #32
0
 def test_1_segundo(self):
     self.assertEqual((1, 0), formiga(1))
Example #33
0
 def test_0_segundos(self):
     self.assertEqual((0, 0), formiga(0))
Example #34
0
	def test_1_segundo(self):
		self.assertEqual((1, 0), formiga(1))