// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
//
// This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- JVM NOT MANDATORY -->
// 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
|