/*
 * This file was automatically generated by EvoSuite
 * Sun Mar 03 02:16:47 GMT 2024
 */

package com.ib.client;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import com.ib.client.ComboLeg;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true, useJEE = true) 
public class ComboLeg_ESTest extends ComboLeg_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test00()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      comboLeg0.m_exchange = "com.ib.client.Util";
      ComboLeg comboLeg1 = new ComboLeg();
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(comboLeg1.equals((Object)comboLeg0));
      assertEquals(0, comboLeg1.m_ratio);
      assertFalse(boolean0);
      assertEquals(0, comboLeg1.m_shortSaleSlot);
      assertEquals(0, comboLeg1.m_openClose);
      assertEquals(0, comboLeg1.m_conId);
  }

  @Test(timeout = 4000)
  public void test01()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      comboLeg0.m_action = null;
      comboLeg0.m_action = "R1s";
      ComboLeg comboLeg1 = new ComboLeg();
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertEquals(0, comboLeg1.m_conId);
      assertFalse(comboLeg1.equals((Object)comboLeg0));
      assertEquals(0, comboLeg1.m_ratio);
      assertEquals(0, comboLeg1.m_shortSaleSlot);
      assertFalse(boolean0);
      assertEquals(0, comboLeg1.m_openClose);
  }

  @Test(timeout = 4000)
  public void test02()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      comboLeg0.m_action = "";
      ComboLeg comboLeg1 = new ComboLeg();
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertEquals(0, comboLeg1.m_conId);
      assertEquals(0, comboLeg1.m_openClose);
      assertEquals(0, comboLeg1.m_ratio);
      assertEquals(0, comboLeg1.m_shortSaleSlot);
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test03()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg(0, 0, "2/^Vp", "", 0, (-85), (String) null);
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertEquals(0, comboLeg1.m_openClose);
      assertFalse(boolean0);
      assertEquals(0, comboLeg1.m_conId);
      assertEquals((-85), comboLeg1.m_shortSaleSlot);
      assertEquals(0, comboLeg1.m_ratio);
  }

  @Test(timeout = 4000)
  public void test04()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg();
      assertEquals(0, comboLeg1.m_openClose);
      
      comboLeg1.m_openClose = 1286;
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test05()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      assertEquals(0, comboLeg0.m_ratio);
      
      ComboLeg comboLeg1 = new ComboLeg();
      comboLeg0.m_ratio = 1;
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test06()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg(98, (-1453), "JTMdP[?N]n60p(Ak&TG", "JTMdP[?N]n60p(Ak&TG", (-1453));
      ComboLeg comboLeg1 = new ComboLeg(0, (-1453), "", "JTMdP[?N]n60p(Ak&TG", 0);
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertEquals(0, comboLeg0.m_shortSaleSlot);
      assertEquals((-1453), comboLeg0.m_openClose);
      assertFalse(boolean0);
      assertEquals(0, comboLeg1.m_openClose);
      assertEquals((-1453), comboLeg1.m_ratio);
      assertEquals(98, comboLeg0.m_conId);
  }

  @Test(timeout = 4000)
  public void test07()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      boolean boolean0 = comboLeg0.equals(comboLeg0);
      assertEquals(0, comboLeg0.m_openClose);
      assertEquals(0, comboLeg0.m_ratio);
      assertEquals(0, comboLeg0.m_conId);
      assertEquals(0, comboLeg0.m_shortSaleSlot);
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test08()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg();
      assertTrue(comboLeg1.equals((Object)comboLeg0));
      
      comboLeg0.m_designatedLocation = "pg';nPmW;I)C7-Lx94'";
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test09()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg();
      assertTrue(comboLeg1.equals((Object)comboLeg0));
      
      comboLeg1.m_exchange = "com.ib.client.Util";
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(comboLeg1.equals((Object)comboLeg0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test10()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg();
      assertTrue(comboLeg1.equals((Object)comboLeg0));
      
      comboLeg1.m_action = "]*W~\"3/'oOLIaJ=";
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(comboLeg1.equals((Object)comboLeg0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test11()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      assertEquals(0, comboLeg0.m_openClose);
      
      ComboLeg comboLeg1 = new ComboLeg(0, 0, (String) null, (String) null, 0);
      comboLeg0.m_openClose = 764;
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test12()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg(0, 2, (String) null, "", 0, (-1975), (String) null);
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertEquals(2, comboLeg1.m_ratio);
      assertEquals(0, comboLeg1.m_openClose);
      assertEquals(0, comboLeg0.m_ratio);
      assertEquals((-1975), comboLeg1.m_shortSaleSlot);
      assertFalse(boolean0);
      assertEquals(0, comboLeg1.m_conId);
  }

  @Test(timeout = 4000)
  public void test13()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      ComboLeg comboLeg1 = new ComboLeg();
      assertEquals(0, comboLeg1.m_conId);
      
      comboLeg1.m_conId = 0;
      comboLeg1.m_conId = 2;
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test14()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      boolean boolean0 = comboLeg0.equals((Object) null);
      assertFalse(boolean0);
      assertEquals(0, comboLeg0.m_conId);
      assertEquals(0, comboLeg0.m_ratio);
      assertEquals(0, comboLeg0.m_openClose);
      assertEquals(0, comboLeg0.m_shortSaleSlot);
  }

  @Test(timeout = 4000)
  public void test15()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      Object object0 = new Object();
      // Undeclared exception!
      try { 
        comboLeg0.equals(object0);
        fail("Expecting exception: ClassCastException");
      
      } catch(ClassCastException e) {
         //
         // java.lang.Object incompatible with com.ib.client.ComboLeg
         //
         verifyException("com.ib.client.ComboLeg", e);
      }
  }

  @Test(timeout = 4000)
  public void test16()  throws Throwable  {
      ComboLeg comboLeg0 = new ComboLeg();
      assertEquals(0, comboLeg0.m_shortSaleSlot);
      
      comboLeg0.m_shortSaleSlot = (-1975);
      ComboLeg comboLeg1 = new ComboLeg(0, 0, (String) null, (String) null, 0);
      boolean boolean0 = comboLeg0.equals(comboLeg1);
      assertFalse(boolean0);
  }
}
