package de.maramuse.soundcomp;
/**
* SoundComp main class
* @author jssr67
*
* At the moment, this does nothing but call our JUnit test cases.
* This will change when we will have our scanner/parser,
* at which point in time this will call the parser on stdin.
*
* Copyright 2010 Jan Schmidt-Reinisch
*
* SoundComp - a sound processing library
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; in version 2.1
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
import de.maramuse.soundcomp.util.VersionInfo;
import de.maramuse.soundcomp.test.Test;
public class SoundComp {
static Test test;
public static void main(final String[] args) {
try{
Class.forName("de.maramuse.soundcomp.util.NativeObjects");
}catch(ClassNotFoundException e){
System.out.println("Native library could not be loaded");
System.exit(-1);
}
System.out.println(VersionInfo.getInfoText());
System.out.println("Built for a "+VersionInfo.getProcessorType()+", a "+(VersionInfo.isBigEndian()?"big":"little")+" endian machine with "+VersionInfo.getAddressBitcount()+" address bits and "+VersionInfo.getIntegerSize()+" bytes per integer.");
test=new Test();
test.testTS1();
test.testTS2();
test.testTS3a();
test.testTS3b();
test.testTS4();
test.testTS5();
test.testTS6();
test.testTS7();
}
}