content: /*
  
  (C) Copyright 2017 Alberto Fernández <infjaf@gmail.com>
  
  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 3.0 of the License, or (at your option) any later version.
  
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.
  
  You should have received a copy of the GNU Lesser General Public
  License along with this library.  If not, see <http://www.gnu.org/licenses/>.
  
  */
  
  package com.linuxense.javadbf.testutils;
  
  
  
  import org.junit.jupiter.api.Assertions;
  
  import com.linuxense.javadbf.DBFDataType;
  import com.linuxense.javadbf.DBFField;
  
  public class AssertUtils {
  
  	public static void assertColumnDefinition(DBFField field, String columnName, DBFDataType type, int length, int decimal) {
  		Assertions.assertEquals(columnName, field.getName());
  		Assertions.assertEquals(type, field.getType());
  		Assertions.assertEquals(length, field.getLength());
  		Assertions.assertEquals(decimal, field.getDecimalCount());
  	}
  
  }
  