title: Area Of A Hexagon
signature: def areaOfAHexagon(s: Double) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Double , expected: Double): Boolean = {
      (actual - expected).abs < 1e-09
  }
  
  def driver(s: Double, expected: Double): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(s),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        1772.6589509256596, 
        8163986.207300422    
      )}")   
  
  
      println(s"TEST-1...${driver(
        -599.737107809315, 
        934487.9989101035    
      )}")   
  
  
      println(s"TEST-2...${driver(
        1074.1765931782, 
        2997804.1448343466    
      )}")   
  
  
      println(s"TEST-3...${driver(
        -1182.4087746714795, 
        3632345.696441302    
      )}")   
  
  
      println(s"TEST-4...${driver(
        8083.035797247716, 
        169746524.38794258    
      )}")   
  
  
      println(s"TEST-5...${driver(
        -6126.414356565494, 
        97513471.98905805    
      )}")   
  
  
      println(s"TEST-6...${driver(
        5370.057504189614, 
        74922068.46663411    
      )}")   
  
  
      println(s"TEST-7...${driver(
        -6947.020794285176, 
        125386010.4299519    
      )}")   
  
  
      println(s"TEST-8...${driver(
        2110.5107873533325, 
        11572495.990484647    
      )}")   
  
  
      println(s"TEST-9...${driver(
        -6458.751326919488, 
        108379966.88267714    
      )}")   
  
  }
  
source_py: def area_of_a_hexagon(s):
      return (((3 * math.sqrt(3)) * (s * s)) / 2)
source_cpp: double area_of_a_hexagon(double s) {
    return ( ( 3 * sqrt ( 3 ) * ( s * s ) ) / 2 );
  }