

def test_count_thresh():
    v = np.array([1.2, 1.4, 5.0, 2, 3])
    parakeet_result = count_thresh(v, 2.0)
    python_result = count_thresh_orig(v, 2.0)
    testing_helpers.expect(count_thresh, [v, 2.0], count_thresh_orig(v, 2.0))

dataset/ETHPy150Open iskandr/parakeet/test/algorithms/test_thresholds.py test_count_thresh/original