
# -------------------------------Imports----------------------------------------
import math
from circle import Circle
# -------------------------------Functions--------------------------------------


def test_radius():
    c = Circle(4)
    assert c.radius == 4


def test_diameter():
    c = Circle(5)
    assert c.diameter == 10


def test_change_radius():
    c = Circle(5)
    c.radius = 2
    assert c.diameter == 4


def test_change_diameter():
    c = Circle(5)
    c.diameter = 12
    assert c.diameter == 12
    assert c.radius == 6


def test_area():
    """

    """


# -------------------------------Imports----------------------------------------
import math
from circle import Circle
# -------------------------------Functions--------------------------------------


def test_radius():
    c = Circle(4)
    assert c.radius == 4


def test_diameter():
    c = Circle(5)
    assert c.diameter == 10


def test_change_radius():
    c = Circle(5)
    c.radius = 2
    assert c.diameter == 4


def test_change_diameter():
    c = Circle(5)
    c.diameter = 12
    assert c.diameter == 12
    assert c.radius == 6


def test_area():
    """
    Verify area of circle
    """
    c = Circle(5)
    assert c.area == 25

Add test for area property of circle.
Add test for area property of circle.

  
  # -------------------------------Imports----------------------------------------
  import math
  from circle import Circle
  # -------------------------------Functions--------------------------------------
  
  
  def test_radius():
      c = Circle(4)
      assert c.radius == 4
  
  
  def test_diameter():
      c = Circle(5)
      assert c.diameter == 10
  
  
  def test_change_radius():
      c = Circle(5)
      c.radius = 2
      assert c.diameter == 4
  
  
  def test_change_diameter():
      c = Circle(5)
      c.diameter = 12
      assert c.diameter == 12
      assert c.radius == 6
  
  
  def test_area():
      """
+     Verify area of circle
+     """
+     c = Circle(5)
+     assert c.area == 25
  
-     """
- 
Add test for area property of circle.
## Code Before:

# -------------------------------Imports----------------------------------------
import math
from circle import Circle
# -------------------------------Functions--------------------------------------


def test_radius():
    c = Circle(4)
    assert c.radius == 4


def test_diameter():
    c = Circle(5)
    assert c.diameter == 10


def test_change_radius():
    c = Circle(5)
    c.radius = 2
    assert c.diameter == 4


def test_change_diameter():
    c = Circle(5)
    c.diameter = 12
    assert c.diameter == 12
    assert c.radius == 6


def test_area():
    """

    """

## Instruction:
Add test for area property of circle.
## Code After:

# -------------------------------Imports----------------------------------------
import math
from circle import Circle
# -------------------------------Functions--------------------------------------


def test_radius():
    c = Circle(4)
    assert c.radius == 4


def test_diameter():
    c = Circle(5)
    assert c.diameter == 10


def test_change_radius():
    c = Circle(5)
    c.radius = 2
    assert c.diameter == 4


def test_change_diameter():
    c = Circle(5)
    c.diameter = 12
    assert c.diameter == 12
    assert c.radius == 6


def test_area():
    """
    Verify area of circle
    """
    c = Circle(5)
    assert c.area == 25
