def testComputeMissRateLateral_2(self):
    pred_score = np.reshape([0.5], (1, 1, 1))
    pred_trajectory = np.reshape(
        [[[4, 4], [6, 6], [8, 8], [10, 10]],
         [[-2, 1.01], [-3, 1.01], [-4, 1.01], [-5, 1.01]]], (1, 1, 1, 2, 4, 2))
    val = self._RunEval(pred_score, pred_trajectory)
    # miss_rate of Vehicle.
    self.assertEqual(val[2][0], 1.0)
    # mean_ap of Vehicle.
    self.assertEqual(val[4][0], 0.0)