2002-09-16 00:43:01 +00:00
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Unit Test for Loki
|
|
|
|
|
//
|
|
|
|
|
// Copyright Terje Sletteb<65> and Pavel Vozenilek 2002.
|
|
|
|
|
//
|
|
|
|
|
// Permission to use, copy, modify, and distribute this software for any
|
|
|
|
|
// purpose is hereby granted without fee, provided that this copyright and
|
|
|
|
|
// permissions notice appear in all copies and derivatives.
|
|
|
|
|
//
|
|
|
|
|
// This software is provided "as is" without express or implied warranty.
|
|
|
|
|
//
|
|
|
|
|
// Last update: September 16, 2002
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifdef __INTEL_COMPILER
|
2002-09-16 01:58:52 +00:00
|
|
|
|
# pragma warning(disable: 111 193 304 383 444 488 981 1418)
|
2002-09-16 00:43:01 +00:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "LokiTest.h"
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
|
{
|
|
|
|
|
LokiTest test;
|
|
|
|
|
|
|
|
|
|
const int result=test.result();
|
|
|
|
|
|
|
|
|
|
#if __BORLANDC__ || __GNUC__
|
|
|
|
|
while(true); // Stop console window from closing if run from IDE.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|