code: def test_init():
      criteria = Stop(direction=StopDirection.UP, percent=0.3)
      assert criteria.direction == StopDirection.UP
      assert criteria.percent == 0.3
  
imports: import unittest.mock
  from tensortrade.oms.orders.criteria import Stop, StopDirection
  from tensortrade.oms.instruments import USD, BTC
label_desc: Use image node_id 1 for calling a global function with example usage: test_init() without return types