CSlimTools.hh 669 Bytes
/**
 * CSlimTools.hh
 *
 *  Created on: 17 oct. 2012
 *      Author: AKKA IS
 */

#ifndef CSLIMTOOLS_HH_
#define CSLIMTOOLS_HH_

#include <string>

/**
 * Tool Box to write CSlim test
 */
class CSlimTools {
public:
	CSlimTools();
	virtual ~CSlimTools();
	/**
	 * return the int i in char *
	 * the address return is a static address
	 */
	static char *intToString(int i);
	static char *traitReturnSystem(int status);
	static char *compareLine(std::string lineLeft, std::string lineRight, double epsilon, int lineNumber, double& maxEpsilon);
	static char *compareFile(std::string fileNameLeft, std::string fileNameRight, double epsilon);
};

#endif /* CSLIMTOOLS_HH_ */