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