code: def test_weighted_wheel_selection():
      weights = [1, 2, 3, 4, 5, 6, 7, 8]
  
      assert general.weighted_wheel_selection(weights) >= 0
  
      weights = [0, 0, 0, 0, 0, 0, 0, 0]
  
      assert general.weighted_wheel_selection(weights) is None
  
imports: import numpy
  from opytimizer.math import general
label_desc: Use image node_id 5 for calling a global function with example usage: test_weighted_wheel_selection() without return types