title: Program For Surface Area Of Octahedron
signature: class Solution {
  
      public Double programForSurfaceAreaOfOctahedron(Double side) {
test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Double side, Double expected){
          try{
              Driver driver = new Driver();
              if (driver.run(side,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(1449.255716877097, 7275798.574924052);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(-8772.104874265995, 266562009.34357828);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(2948.419328234334, 30114046.875937637);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(-1184.220109553511, 4857977.358664159);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(7422.825800698956, 190866258.51879707);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(-5808.280006171851, 116865336.10679008);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(829.8963781665169, 2385823.7719733207);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(-7368.438572511732, 188079541.63799432);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(5572.033890611617, 107551908.5552799);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(-3998.9441642787706, 55396369.52612884);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Double side, Double expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(side),expected);
      }
      
      public boolean validateSolution(Double actual, Double expected){
          return Math.abs(actual - expected) < 1e-09;
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
source_py: def program_for_surface_area_of_octahedron(side):
      return ((2 * math.sqrt(3)) * (side * side))
source_cpp: double program_for_surface_area_of_octahedron(double side) {
    return ( 2 * ( sqrt ( 3 ) ) * ( side * side ) );
  }