code: def test_cyclic_triangular():
      rates = cyclic_triangular(0.1, 1.0, 2)
      expected = [0.55, 1.0, 0.55, 0.1, 0.55, 1.0, 0.55, 0.1, 0.55, 1.0]
      for i in range(10):
          assert next(rates) == expected[i]
  
imports: from thinc.api import compounding, constant, constant_then, cyclic_triangular, decaying, slanted_triangular, warmup_linear
label_desc: Use image node_id 7 for calling a global function with example usage: test_cyclic_triangular() without return types