    1   package groovy.lang;
    2
    3   import org.codehaus.groovy.classgen.TestSupport;
    4
    5
    6   /***
    7    * @author Steve Goetze
    8    * @author Jeremy Rayner
    9    */
    10  public class ScriptIntegerDivideTest extends TestSupport {
    11
    12  	/***
    13  	 * Check integer division which is now a method call rather than the symbol "\".
    14  	 */
    15  	public void testIntegerDivide() throws Exception {
    16     		assertScript( "assert 4.intdiv(3) == 1" );
    17      }
    18  }