PHP Classes

File: tests/TestHelper.php

Recommend this page to a friend!
  Classes of Nikola Posa   Dec2RomanNumConverter   tests/TestHelper.php   Download  
File: tests/TestHelper.php
Role: Auxiliary script
Content type: text/plain
Description: Setting up testing environment.
Class: Dec2RomanNumConverter
Convert numbers between decimal and roman
Author: By
Last change:
Date: 13 years ago
Size: 1,228 bytes
 

Contents

Class file image Download
<?php
/**
 * Dec2RomanNumConverter
 *
 * Copyright (C) 2009 Nikola Posa (http://www.nikolaposa.in.rs)
 *
 * This file is part of Dec2RomanNumConverter.
 *
 * Dec2RomanNumConverter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Dec2RomanNumConverter is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Dec2RomanNumConverter. If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Setting up testing environment.
 *
 * @author Nikola Posa, www.nikolaposa.in.rs
 * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License
 */

//Setting include path.
$libs = realpath(dirname(__FILE__) . '/../libs');
$path = array(
   
$libs,
   
get_include_path()
);
set_include_path(implode(PATH_SEPARATOR, $path));

//Unset global variables
unset($libs, $path);