// Path: src/main/java/com/levelup/java/exercises/beginner/CircleClass.java
// public class Circle {
// 	
// 	private final double PI = 3.14159;
// 	private double radius;
// 	
// 	public Circle() {
// 		radius = 0.0;
// 	}
// 	
// 	public Circle(double r) {
// 		radius = r;
// 	}
// 	
// 	public void setRadius(double r) {
// 		radius = r;
// 	}
// 	
// 	public double getRadius() {
// 		return radius;
// 	}
// 	
// 	public double getArea() {
// 		return PI * radius * radius;
// 	}
// 	
// 	public double getDiameter() {
// 		return radius * 2;
// 	}
// 	
// 	public double getCircumference() {
// 		return 2 * PI * radius;
// 	}
// }


import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.levelup.java.exercises.beginner.CircleClass.Circle;
package com.levelup.java.exercises.beginner;




/**
 * Unit test for {@link CircleClass}
 * 
 * @author Justin Musgrove
 * @see <a href='http://www.leveluplunch.com/java/exercises/circle-class-program/'>Circle class test</a>
 */
public class CircleClassTest {

	@Test
	public void test_getArea() {

		CircleClass circleClass = new CircleClass();
		Circle circle = circleClass.new Circle(10);

		assertEquals(314.159, circle.getArea(), 0);
	}

	@Test
	public void test_getDiameter() {

		CircleClass circleClass = new CircleClass();
		Circle circle = circleClass.new Circle(10);

		assertEquals(20, circle.getDiameter(), 0);
	}

	@Test
	public void test_getCircumference() {

// Path: src/main/java/com/levelup/java/exercises/beginner/CircleClass.java
// public class Circle {
// 	
// 	private final double PI = 3.14159;
// 	private double radius;
// 	
// 	public Circle() {
// 		radius = 0.0;
// 	}
// 	
// 	public Circle(double r) {
// 		radius = r;
// 	}
// 	
// 	public void setRadius(double r) {
// 		radius = r;
// 	}
// 	
// 	public double getRadius() {
// 		return radius;
// 	}
// 	
// 	public double getArea() {
// 		return PI * radius * radius;
// 	}
// 	
// 	public double getDiameter() {
// 		return radius * 2;
// 	}
// 	
// 	public double getCircumference() {
// 		return 2 * PI * radius;
// 	}
// }


// Path: src/test/java/com/levelup/java/exercises/beginner/CircleClassTest.java
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.levelup.java.exercises.beginner.CircleClass.Circle;

package com.levelup.java.exercises.beginner;




/**
 * Unit test for {@link CircleClass}
 * 
 * @author Justin Musgrove
 * @see <a href='http://www.leveluplunch.com/java/exercises/circle-class-program/'>Circle class test</a>
 */
public class CircleClassTest {

	@Test
	public void test_getArea() {

		CircleClass circleClass = new CircleClass();
		Circle circle = circleClass.new Circle(10);

		assertEquals(314.159, circle.getArea(), 0);
	}

	@Test
	public void test_getDiameter() {

		CircleClass circleClass = new CircleClass();
		Circle circle = circleClass.new Circle(10);

		assertEquals(20, circle.getDiameter(), 0);
	}

	@Test
	public void test_getCircumference() {

		CircleClass circleClass = new CircleClass();