code: def test_waypoints_numpy_array(self):
      import numpy as np
  
      layer = Directions(
          np.array(self.start), self.end, np.array(self.waypoints)
      )
      state = layer.get_state()
      assert state["start"] == self.start
      assert state["end"] == self.end
      assert state["waypoints"] == self.waypoints
  
imports: import unittest
  import pytest
  import traitlets
  from ..directions import Directions, DEFAULT_STROKE_COLOR
label_desc: Use image node_id 7 for calling the DirectionsLayer obj's underlying member method code with example usage: obj.test_waypoints_numpy_array() without return types