// Path: src/main/java/io/datanerds/avropatch/value/type/BigDecimalType.java
// public interface BigDecimalType {
//     String NAME = "big-decimal";
//     String DOC = "BigDecimal value represented via its scale and unscaled value.";
//     LogicalType LOGICAL_TYPE = new LogicalType(NAME);
//     Schema RECORD = SchemaBuilder
//             .record("decimal")
//             .doc(DOC)
//             .fields()
//             .name("unscaledValue").type(BigIntegerType.SCHEMA).noDefault()
//             .name("scale").type(Schema.create(Schema.Type.INT)).noDefault()
//             .endRecord();
// 
//     Schema SCHEMA = LOGICAL_TYPE.addToSchema(RECORD);
// }


import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import io.datanerds.avropatch.value.type.BigDecimalType;
import org.apache.avro.Schema;
import org.junit.Test;
import java.io.IOException;
import java.math.BigDecimal;
package io.datanerds.avropatch.value.conversion;



public class BigDecimalConversionTest {

    @Test
    public void serializesSingleValue() throws IOException {
        ConversionTester
// Path: src/main/java/io/datanerds/avropatch/value/type/BigDecimalType.java
// public interface BigDecimalType {
//     String NAME = "big-decimal";
//     String DOC = "BigDecimal value represented via its scale and unscaled value.";
//     LogicalType LOGICAL_TYPE = new LogicalType(NAME);
//     Schema RECORD = SchemaBuilder
//             .record("decimal")
//             .doc(DOC)
//             .fields()
//             .name("unscaledValue").type(BigIntegerType.SCHEMA).noDefault()
//             .name("scale").type(Schema.create(Schema.Type.INT)).noDefault()
//             .endRecord();
// 
//     Schema SCHEMA = LOGICAL_TYPE.addToSchema(RECORD);
// }


// Path: src/test/java/io/datanerds/avropatch/value/conversion/BigDecimalConversionTest.java
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import io.datanerds.avropatch.value.type.BigDecimalType;
import org.apache.avro.Schema;
import org.junit.Test;
import java.io.IOException;
import java.math.BigDecimal;

package io.datanerds.avropatch.value.conversion;



public class BigDecimalConversionTest {

    @Test
    public void serializesSingleValue() throws IOException {
        ConversionTester
                .withSchemata(BigDecimalType.SCHEMA)