001/*******************************************************************************
002 * This software is provided as a supplement to the authors' textbooks on digital
003 *  image processing published by Springer-Verlag in various languages and editions.
004 * Permission to use and distribute this software is granted under the BSD 2-Clause 
005 * "Simplified" License (see http://opensource.org/licenses/BSD-2-Clause). 
006 * Copyright (c) 2006-2016 Wilhelm Burger, Mark J. Burge. All rights reserved. 
007 * Visit http://imagingbook.com for additional details.
008 *******************************************************************************/
009package imagingbook.lib.math;
010
011public class Test {
012
013        
014        public static void main(String[] args) {
015                System.out.println(Arithmetic.mod(4, 3));
016                System.out.println(Arithmetic.mod(4, -3));
017                System.out.println(Arithmetic.mod(-4, 3));
018                System.out.println(Arithmetic.mod(-4, -3));
019                
020
021        }
022
023}