code: def test_stream():
      counter = Counter()
  
      assert counter.value is None
      assert counter.forward() == 0
      assert counter.forward() == 1
  
      counter.reset()
  
      assert counter.value is None
      assert counter.forward() == 0
      assert counter.forward() == 1
  
file_path: tensortrade/tests/tensortrade/unit/feed/core/test_base.py
imports: from tensortrade.feed.core import Stream, NameSpace
  from tensortrade.feed.core.base import Placeholder
label_desc: Use image node_id 1 for calling a global function with example usage: test_stream() without return types