Example #1
0
 def test_dataset2(self):
     self.assertEquals(task.median(3,2,1),2)
Example #2
0
 def test_dataset9(self):
     self.assertEquals(task.median(3,3,3),3)
Example #3
0
 def test_dataset1(self):
     self.assertEquals(task.median(1,2,3),2)
Example #4
0
 def test_dataset6(self):
     self.assertEquals(task.median(1,3,2),2)
Example #5
0
 def test_dataset7(self):
     self.assertEquals(task.median(1,3,1),1)
Example #6
0
 def test_dataset4(self):
     self.assertEquals(task.median(2,1,3),2)
Example #7
0
 def test_dataset5(self):
     self.assertEquals(task.median(3,1,2),2)
Example #8
0
 def test_dataset2(self):
     self.assertEquals(task.median(3, 2, 1), 2)
Example #9
0
 def test_dataset3(self):
     self.assertEquals(task.median(2,3,1),2)
Example #10
0
 def test_dataset9(self):
     self.assertEquals(task.median(3, 3, 3), 3)
Example #11
0
 def test_dataset1(self):
     self.assertEquals(task.median(1, 2, 3), 2)
Example #12
0
 def test_dataset7(self):
     self.assertEquals(task.median(1, 3, 1), 1)
Example #13
0
 def test_dataset6(self):
     self.assertEquals(task.median(1, 3, 2), 2)
Example #14
0
 def test_dataset5(self):
     self.assertEquals(task.median(3, 1, 2), 2)
Example #15
0
 def test_dataset4(self):
     self.assertEquals(task.median(2, 1, 3), 2)
Example #16
0
 def test_dataset3(self):
     self.assertEquals(task.median(2, 3, 1), 2)