예제 #1
0
        public void TestGetBase()
        {
            Cone   cone           = new Cone();
            double r              = 4;
            double pi             = 3.14;
            double expectedResult = (pi * 2 * r);
            double actual         = cone.GetBase(r);

            Assert.AreEqual(expectedResult, actual, 0);
        }