// TODO(nina): this test fails
n_samples = self.n_samples
for metric_type in self.metrics:
metric = self.metrics[metric_type]
one_tangent_vec = self.group.random_uniform(n_samples=1)
one_base_point = self.group.random_uniform(n_samples=1)
n_tangent_vec = self.group.random_uniform(n_samples=n_samples)
n_base_point = self.group.random_uniform(n_samples=n_samples)
// Test with the 1 base point, and n tangent vecs
result = metric.exp(n_tangent_vec, one_base_point)
self.assertTrue(np.allclose(result.shape,
(n_samples, self.group.dimension)))
expected = np.vstack([metric.exp(tangent_vec, one_base_point)
for tangent_vec in n_tangent_vec])