/*
 * OpenAPI Petstore
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 *
 * OpenAPI spec version: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.model;

import org.apache.commons.lang3.builder.EqualsBuilder;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

/**
 * Model tests for ArrayOfArrayOfNumberOnly
 */
public class ArrayOfArrayOfNumberOnlyTest {
    private final ArrayOfArrayOfNumberOnly model = new ArrayOfArrayOfNumberOnly();

    /**
     * Model tests for ArrayOfArrayOfNumberOnly
     */
    @Test
    public void test() {
        // TODO: test ArrayOfArrayOfNumberOnly
    }

    /**
     * Test the property 'arrayArrayNumber'
     */
    @Test
    public void arrayArrayNumberTest() {
        BigDecimal b1 = new BigDecimal("12.3");
        BigDecimal b2 = new BigDecimal("5.6");
        List<BigDecimal> arrayArrayNumber = new ArrayList<BigDecimal>();
        arrayArrayNumber.add(b1);
        arrayArrayNumber.add(b2);
        model.setArrayArrayNumber(new ArrayList<List<BigDecimal>>());
        model.getArrayArrayNumber().add(arrayArrayNumber);

        // create another instance for comparison
        BigDecimal b3 = new BigDecimal("12.3");
        BigDecimal b4 = new BigDecimal("5.6");
        ArrayOfArrayOfNumberOnly model2 = new ArrayOfArrayOfNumberOnly();
        List<BigDecimal> arrayArrayNumber2 = new ArrayList<BigDecimal>();
        arrayArrayNumber2.add(b1);
        arrayArrayNumber2.add(b2);
        model2.setArrayArrayNumber(new ArrayList<List<BigDecimal>>());
        model2.getArrayArrayNumber().add(arrayArrayNumber2);

        Assert.assertTrue(model2.equals(model));
    }

}
