/*
 * This file was automatically generated by EvoSuite
 * Sun Mar 03 02:40:41 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.Order;
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 Order_ESTest extends Order_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test00()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_allOrNone = true;
      order1.m_permId = (-1);
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test01()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order0.m_discretionaryAmt = (-4734.3);
      order1.m_permId = 2;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test02()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_totalQuantity = 9;
      order0.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test03()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order0.m_origin = 2;
      order1.m_permId = 1;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test04()  throws Throwable  {
      Order order0 = new Order();
      boolean boolean0 = order0.equals(order0);
      assertEquals(1.7976931348623157E308, order0.m_basisPoints, 0.01);
      assertTrue(boolean0);
      assertEquals(1.7976931348623157E308, order0.m_stockRangeUpper, 0.01);
      assertEquals(0, order0.m_origin);
      assertEquals(1.7976931348623157E308, order0.m_delta, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_volatilityType);
      assertEquals(1.7976931348623157E308, order0.m_trailStopPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_minQty);
      assertEquals(Integer.MAX_VALUE, order0.m_scaleInitLevelSize);
      assertEquals(Integer.MAX_VALUE, order0.m_basisPointsType);
      assertEquals(Integer.MAX_VALUE, order0.m_referencePriceType);
      assertEquals(1.7976931348623157E308, order0.m_percentOffset, 0.01);
      assertFalse(order0.m_outsideRth);
      assertEquals(1.7976931348623157E308, order0.m_stockRangeLower, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_stockRefPrice, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_startingPrice, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_nbboPriceCap, 0.01);
      assertTrue(order0.m_transmit);
      assertEquals(1.7976931348623157E308, order0.m_deltaNeutralAuxPrice, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_volatility, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_scaleSubsLevelSize);
  }

  @Test(timeout = 4000)
  public void test05()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_account = " d\"G.n8cZL@XUs`VfN";
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test06()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = 1;
      order1.m_tif = ">Xn#/2QRL<";
      boolean boolean0 = order0.equals(order1);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleSubsLevelSize);
      assertEquals(1.7976931348623157E308, order1.m_percentOffset, 0.01);
      assertFalse(boolean0);
      assertEquals(1.7976931348623157E308, order1.m_startingPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_minQty);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleInitLevelSize);
      assertEquals(Integer.MAX_VALUE, order1.m_volatilityType);
      assertEquals(1.7976931348623157E308, order1.m_delta, 0.01);
  }

  @Test(timeout = 4000)
  public void test07()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = 1;
      order1.m_action = "c-m-S/D'frYwc/^>";
      order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
  }

  @Test(timeout = 4000)
  public void test08()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = Integer.MAX_VALUE;
      order1.m_whatIf = true;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test09()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order0.m_basisPointsType = 110;
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test10()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = 1;
      order0.m_basisPoints = 1088.0;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test11()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = (-1);
      order1.m_continuousUpdate = (-1063);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test12()  throws Throwable  {
      Order order0 = new Order();
      assertEquals(Integer.MAX_VALUE, order0.m_volatilityType);
      
      Order order1 = new Order();
      order0.m_volatilityType = 2;
      order1.m_permId = (-1);
      order1.equals(order0);
      assertEquals(1.7976931348623157E308, order0.m_delta, 0.01);
  }

  @Test(timeout = 4000)
  public void test13()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = 1;
      order1.m_stockRangeUpper = 6153.527740882;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test14()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = (-1);
      order0.m_stockRangeLower = 472.197334291968;
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test15()  throws Throwable  {
      Order order0 = new Order();
      order0.m_permId = 1;
      Order order1 = new Order();
      assertEquals(1.7976931348623157E308, order1.m_stockRefPrice, 0.01);
      
      order1.m_stockRefPrice = 0.0;
      boolean boolean0 = order0.equals(order1);
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test16()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_startingPrice = 0.0;
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test17()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_auctionStrategy = Integer.MAX_VALUE;
      order0.m_permId = (-1);
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test18()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = (-1);
      order1.m_nbboPriceCap = (double) 'f';
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test19()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order0.m_permId = (-1);
      boolean boolean0 = order0.equals(order1);
      assertEquals(1.7976931348623157E308, order1.m_percentOffset, 0.01);
      assertTrue(boolean0);
      assertEquals(Integer.MAX_VALUE, order1.m_basisPointsType);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleSubsLevelSize);
      assertEquals(Integer.MAX_VALUE, order1.m_volatilityType);
      assertEquals(1.7976931348623157E308, order1.m_delta, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_basisPoints, 0.01);
  }

  @Test(timeout = 4000)
  public void test20()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order0.m_permId = (-1);
      order1.m_percentOffset = 454.21691209428;
      boolean boolean0 = order0.equals(order1);
      assertEquals(1.7976931348623157E308, order1.m_basisPoints, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleInitLevelSize);
      assertEquals(Integer.MAX_VALUE, order1.m_minQty);
      assertEquals(1.7976931348623157E308, order1.m_stockRangeLower, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_deltaNeutralAuxPrice, 0.01);
      assertFalse(boolean0);
      assertEquals(1.7976931348623157E308, order1.m_startingPrice, 0.01);
  }

  @Test(timeout = 4000)
  public void test21()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_minQty = 1;
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test22()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_triggerMethod = Integer.MAX_VALUE;
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test23()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_displaySize = 2;
      order0.m_permId = (-1);
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test24()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_blockOrder = true;
      order1.m_permId = (-1);
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test25()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_permId = (-1);
      order0.m_ocaType = Integer.MAX_VALUE;
      boolean boolean0 = order1.equals(order0);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test26()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_totalQuantity = 9;
      order0.m_permId = (-1);
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test27()  throws Throwable  {
      Order order0 = new Order();
      order0.m_clientId = (-1155);
      Order order1 = new Order();
      assertTrue(order1.equals((Object)order0));
      
      order1.m_permId = 1;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test28()  throws Throwable  {
      Order order0 = new Order();
      order0.m_permId = (-1);
      order0.m_orderId = (-1);
      Order order1 = new Order();
      boolean boolean0 = order0.equals(order1);
      assertEquals(Integer.MAX_VALUE, order1.m_volatilityType);
      assertEquals(1.7976931348623157E308, order1.m_percentOffset, 0.01);
      assertEquals(0, order1.m_origin);
      assertEquals(1.7976931348623157E308, order1.m_stockRangeUpper, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_startingPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_referencePriceType);
      assertEquals(1.7976931348623157E308, order1.m_stockRefPrice, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_stockRangeLower, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_minQty);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleInitLevelSize);
      assertEquals(1.7976931348623157E308, order1.m_basisPoints, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_volatility, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleSubsLevelSize);
      assertEquals(1.7976931348623157E308, order1.m_deltaNeutralAuxPrice, 0.01);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
      assertEquals(Integer.MAX_VALUE, order1.m_basisPointsType);
      assertEquals(1.7976931348623157E308, order1.m_delta, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_nbboPriceCap, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_trailStopPrice, 0.01);
  }

  @Test(timeout = 4000)
  public void test29()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      boolean boolean0 = order0.equals(order1);
      assertEquals(Integer.MAX_VALUE, order1.m_basisPointsType);
      assertTrue(boolean0);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleInitLevelSize);
      assertTrue(order1.m_transmit);
      assertEquals(Integer.MAX_VALUE, order1.m_scaleSubsLevelSize);
      assertEquals(1.7976931348623157E308, order1.m_volatility, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_deltaNeutralAuxPrice, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_percentOffset, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_trailStopPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_volatilityType);
      assertEquals(1.7976931348623157E308, order1.m_delta, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_basisPoints, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_nbboPriceCap, 0.01);
      assertFalse(order1.m_outsideRth);
      assertEquals(0, order1.m_origin);
      assertEquals(Integer.MAX_VALUE, order1.m_minQty);
      assertEquals(1.7976931348623157E308, order1.m_startingPrice, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_stockRangeUpper, 0.01);
      assertEquals(Integer.MAX_VALUE, order1.m_referencePriceType);
      assertEquals(1.7976931348623157E308, order1.m_stockRefPrice, 0.01);
      assertEquals(1.7976931348623157E308, order1.m_stockRangeLower, 0.01);
  }

  @Test(timeout = 4000)
  public void test30()  throws Throwable  {
      Order order0 = new Order();
      boolean boolean0 = order0.equals((Object) null);
      assertEquals(Integer.MAX_VALUE, order0.m_basisPointsType);
      assertTrue(order0.m_transmit);
      assertEquals(1.7976931348623157E308, order0.m_deltaNeutralAuxPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_scaleInitLevelSize);
      assertFalse(boolean0);
      assertEquals(Integer.MAX_VALUE, order0.m_scaleSubsLevelSize);
      assertEquals(1.7976931348623157E308, order0.m_volatility, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_volatilityType);
      assertEquals(1.7976931348623157E308, order0.m_basisPoints, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_minQty);
      assertEquals(1.7976931348623157E308, order0.m_trailStopPrice, 0.01);
      assertEquals(Integer.MAX_VALUE, order0.m_referencePriceType);
      assertEquals(0, order0.m_origin);
      assertEquals(1.7976931348623157E308, order0.m_stockRefPrice, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_delta, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_stockRangeUpper, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_stockRangeLower, 0.01);
      assertFalse(order0.m_outsideRth);
      assertEquals(1.7976931348623157E308, order0.m_nbboPriceCap, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_startingPrice, 0.01);
      assertEquals(1.7976931348623157E308, order0.m_percentOffset, 0.01);
  }

  @Test(timeout = 4000)
  public void test31()  throws Throwable  {
      Order order0 = new Order();
      // Undeclared exception!
      try { 
        order0.equals(order0.m_totalQuantity);
        fail("Expecting exception: ClassCastException");
      
      } catch(ClassCastException e) {
         //
         // java.lang.Integer incompatible with com.ib.client.Order
         //
         verifyException("com.ib.client.Order", e);
      }
  }

  @Test(timeout = 4000)
  public void test32()  throws Throwable  {
      Order order0 = new Order();
      Order order1 = new Order();
      order1.m_trailStopPrice = (double) 0;
      order1.m_permId = 2;
      boolean boolean0 = order0.equals(order1);
      assertFalse(order1.equals((Object)order0));
      assertFalse(boolean0);
  }
}
