// ============================================================================= // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // Copyright (C) 2008 - INRIA - Pierre MARECHAL // // This file is distributed under the same license as the Scilab package. // ============================================================================= // <-- CLI SHELL MODE --> // unit tests for isLeapYear function // ============================================================================= years = [ 1900 1950 2000 2001 2004 ]; res = [ %F %F %T %F %T ]; if isLeapYear(years) <> res then bugmes();quit;end