title: Smallest Of Three Integers Without Comparison Operators
signature: smallestOfThreeIntegersWithoutComparisonOperators(x, y, z) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(x, y, z, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(x, y, z), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          23, 98, 25, 
          23)
      }");
  
      print("TEST-1...${driver(
          87, 55, 94, 
          55)
      }");
  
      print("TEST-2...${driver(
          35, 90, 29, 
          29)
      }");
  
      print("TEST-3...${driver(
          25, 9, 41, 
          9)
      }");
  
      print("TEST-4...${driver(
          93, 22, 39, 
          22)
      }");
  
      print("TEST-5...${driver(
          52, 42, 96, 
          42)
      }");
  
      print("TEST-6...${driver(
          95, 88, 26, 
          26)
      }");
  
      print("TEST-7...${driver(
          91, 64, 51, 
          51)
      }");
  
      print("TEST-8...${driver(
          75, 1, 6, 
          1)
      }");
  
      print("TEST-9...${driver(
          96, 44, 76, 
          44)
      }");
  
      return 0;
  }
source_py: def smallest_of_three_integers_without_comparison_operators(x, y, z):
      c = 0
      while (x and y and z):
          x = (x - 1)
          y = (y - 1)
          z = (z - 1)
          c = (c + 1)
      return c
source_cpp: int smallest_of_three_integers_without_comparison_operators(int x, int y, int z) {
    int c = 0;
    while ( x && y && z ) {
      x --;
      y --;
      z --;
      c ++;
    }
    return c;
  }