title: Smallest Of Three Integers Without Comparison Operators 1
signature: class Solution {
  
      public Integer smallestOfThreeIntegersWithoutComparisonOperators1(Integer x, Integer y, Integer z) {
source_py: def smallest_of_three_integers_without_comparison_operators_1(x, y, z):
      if (not (y / x)):
          return (y if (not (y / z)) else z)
      return (x if (not (x / z)) else z)
source_cpp: int smallest_of_three_integers_without_comparison_operators_1(int x, int y, int z) {
    if ( ! ( y / x ) ) return ( ! ( y / z ) ) ? y : z;
    return ( ! ( x / z ) ) ? x : z;
  }
question_info.extension: java
question_info.entry_fn_name: smallestOfThreeIntegersWithoutComparisonOperators1
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 56, "inputs": {"x": 48, "y": 63, "z": 56}}, {"idx": 1, "outputs": 84, "inputs": {"x": 11, "y": 55, "z": 84}}, {"idx": 2, "outputs": 96, "inputs": {"x": 50, "y": 89, "z": 96}}, {"idx": 3, "outputs": 74, "inputs": {"x": 21, "y": 71, "z": 74}}, {"idx": 4, "outputs": 42, "inputs": {"x": 94, "y": 39, "z": 42}}, {"idx": 5, "outputs": 86, "inputs": {"x": 22, "y": 44, "z": 86}}, {"idx": 6, "outputs": 68, "inputs": {"x": 3, "y": 41, "z": 68}}, {"idx": 7, "outputs": 94, "inputs": {"x": 67, "y": 62, "z": 94}}, {"idx": 8, "outputs": 83, "inputs": {"x": 59, "y": 2, "z": 83}}, {"idx": 9, "outputs": 1, "inputs": {"x": 50, "y": 11, "z": 1}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer x, Integer y, Integer z, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(x, y, z,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(48, 63, 56, 56);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(11, 55, 84, 84);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(50, 89, 96, 96);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(21, 71, 74, 74);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(94, 39, 42, 42);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(22, 44, 86, 86);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(3, 41, 68, 68);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(67, 62, 94, 94);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(59, 2, 83, 83);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(50, 11, 1, 1);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer x, Integer y, Integer z, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(x, y, z),expected);
      }
      
      public boolean validateSolution(Integer actual, Integer expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__