Comment

ann nguyen

November 16, 2008 at 12:12 AM

How can I create a JUnit test for my Geometry java program. Here is one of my methods in Geometry.java -Thanks

----------

class Geometry

{

public static double cylinderSurface(double r, double h)

{

return (2.0 * r * Math.PI * h) + (2.0 * Math.PI * r * r);

}

View All Comments

----------

class Geometry

{

public static double cylinderSurface(double r, double h)

{

return (2.0 * r * Math.PI * h) + (2.0 * Math.PI * r * r);

}

View All Comments

Related Tutorial and Articles

Advertisements
Advertisements