def METHOD_NAME(self):
    # 0: 2, 10, 12, 30
    # 1: 3, 24
    # 2: 20
    spike_times = np.array([2, 3, 10, 12, 20, 24, 30, 40], dtype=np.uint64)
    spike_clusters = np.array([0, 1, 0, 0, 2, 1, 0, 2])
    bin_size = 1
    winsize_bins = 2 * 3 + 1
    c_expected = np.zeros((3, 3, 7), dtype=np.int32)
    c_expected[0, 1, 4] = 1
    c_expected[1, 0, 2] = 1
    c_expected[0, 0, 1] = 1
    c_expected[0, 0, 5] = 1
    c = xcorr(spike_times, spike_clusters, bin_size=bin_size, window_size=winsize_bins)
    self.assertTrue(np.allclose(c, c_expected))