code: def test_compute_2points_volume() -> None:
      p1 = np.ones(10)
      p2 = np.zeros(10)
      assert 1 == optuna._hypervolume._compute_2points_volume(p1, p2)
      assert 1 == optuna._hypervolume._compute_2points_volume(p2, p1)
  
      p1 = np.ones(10) * 2
      p2 = np.ones(10)
      assert 1 == optuna._hypervolume._compute_2points_volume(p1, p2)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_compute_2points_volume() without return types