title: Calculate Area Tetrahedron
signature: function calculateAreaTetrahedron(side: number): number {
source_py: def calculate_area_tetrahedron(side):
      volume = ((side ** 3) / (6 * math.sqrt(2)))
      return round(volume, 2)
source_cpp: double calculate_area_tetrahedron(int side) {
    double volume = ( pow ( side, 3 ) / ( 6 * sqrt ( 2 ) ) );
    return volume;
  }
question_info.test_list: [{"idx": 0, "outputs": 22994.17, "inputs": {"side": 58}}, {"idx": 1, "outputs": 20696.54, "inputs": {"side": 56}}, {"idx": 2, "outputs": 5052.87, "inputs": {"side": 35}}, {"idx": 3, "outputs": 114350.83, "inputs": {"side": 99}}, {"idx": 4, "outputs": 258.92, "inputs": {"side": 13}}, {"idx": 5, "outputs": 10739.18, "inputs": {"side": 45}}, {"idx": 6, "outputs": 7542.47, "inputs": {"side": 40}}, {"idx": 7, "outputs": 91769.26, "inputs": {"side": 92}}, {"idx": 8, "outputs": 40.42, "inputs": {"side": 7}}, {"idx": 9, "outputs": 258.92, "inputs": {"side": 13}}]
question_info.entry_cls_name: Solution
question_info.test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value: any): string{
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual: number, expected: number): boolean {
      return Math.abs(actual - expected) < 1e-06;
  }
  
  function driver(side: number, expected:number): string {
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(side),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(58, 22994.17);
    console.log(`TEST-0...${result}`);
  
    result = driver(56, 20696.54);
    console.log(`TEST-1...${result}`);
  
    result = driver(35, 5052.87);
    console.log(`TEST-2...${result}`);
  
    result = driver(99, 114350.83);
    console.log(`TEST-3...${result}`);
  
    result = driver(13, 258.92);
    console.log(`TEST-4...${result}`);
  
    result = driver(45, 10739.18);
    console.log(`TEST-5...${result}`);
  
    result = driver(40, 7542.47);
    console.log(`TEST-6...${result}`);
  
    result = driver(92, 91769.26);
    console.log(`TEST-7...${result}`);
  
    result = driver(7, 40.42);
    console.log(`TEST-8...${result}`);
  
    result = driver(13, 258.92);
    console.log(`TEST-9...${result}`);
  
  };
  
  main();
question_info.extension: ts
question_info.entry_fn_name: calculateAreaTetrahedron
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: tsc --target es2020 --lib es5,dom,es2015,es2020 __FILENAME__
question_info.commands: node __FILENAME__.js