code: def test_half_pie():
      """Test a half pie chart"""
      pie = Pie()
      pie.add("IE", 19.5)
      pie.add("Firefox", 36.6)
      pie.add("Chrome", 36.3)
      pie.add("Safari", 4.5)
      pie.add("Opera", 2.3)
  
      half = Pie(half_pie=True)
      half.add("IE", 19.5)
      half.add("Firefox", 36.6)
      half.add("Chrome", 36.3)
      half.add("Safari", 4.5)
      half.add("Opera", 2.3)
      assert pie.render() != half.render()
  
label_desc: Use image node_id 3 for calling a global function with example usage: test_half_pie() without return types