def testComputeMissRateLongitudinal_2(self):
    pred_score = np.reshape([0.5], (1, 1, 1))
    pred_trajectory = np.reshape([[[4, 4], [6, 6], [8, 8], [10, 10]],
                                  [[-2, 0], [-3, 0], [-4, 0], [-7.01, 0]]],
                                 (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)