def test_get_coordinator_greatest(self): input_handler = InputHandler(0) #[115, 32, 900, 63, 736] for 0 to 4 coordinator_id = input_handler.get_coordinator(0, 1906) self.assertEqual(coordinator_id, 1)
def test_get_coordinator_greatest(self): input_handler = InputHandler(0) #[115, 32, 900, 63, 736] for 0 to 4 coordinator_id = input_handler.get_coordinator(0, 1906) self.assertEqual(coordinator_id, 1)
def test_get_coordinator_mid2(self): input_handler = InputHandler(0) #[115, 32, 900, 63, 736] for 0 to 4 coordinator_id = input_handler.get_coordinator(0, 800) self.assertEqual(coordinator_id, 2)
def test_get_coordinator_mid2(self): input_handler = InputHandler(0) #[115, 32, 900, 63, 736] for 0 to 4 coordinator_id = input_handler.get_coordinator(0, 800) self.assertEqual(coordinator_id, 2)