def METHOD_NAME(self):
    for dtype in TEST_DTYPES:
        angles = [0, 20, 40, 60, 80, 100, 120, 140, 160]
        embeddings = torch.tensor(
            [angle_to_coord(a, normalized=True) for a in angles], dtype=dtype
        ).to(TEST_DEVICE)
        a, p, n = self.sim_miner(embeddings, self.labels)
        self.helper(a, p, n)
        places = 2 if dtype == torch.float16 else 5
        if WITH_COLLECT_STATS:
            self.assertAlmostEqual(
                self.sim_miner.hardest_pos_pair,
                np.cos(np.radians(120)),
                places=places,
            )
            self.assertAlmostEqual(
                self.sim_miner.hardest_neg_pair,
                np.cos(np.radians(20)),
                places=places,
            )