]> git.stg.codes - stg.git/blob - stglibs/common.lib/test.h
Добавление исходников
[stg.git] / stglibs / common.lib / test.h
1 /*
2  *    This program is free software; you can redistribute it and/or modify
3  *    it under the terms of the GNU General Public License as published by
4  *    the Free Software Foundation; either version 2 of the License, or
5  *    (at your option) any later version.
6  *
7  *    This program is distributed in the hope that it will be useful,
8  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  *    GNU General Public License for more details.
11  *
12  *    You should have received a copy of the GNU General Public License
13  *    along with this program; if not, write to the Free Software
14  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15  */
16
17 /*
18  *    Author : Maxim Mamontov
19  */
20
21  /*
22  $Revision: 1.4 $
23  $Date: 2007/12/02 18:52:05 $
24  $Author: nobunaga $
25  */
26
27 #undef STG_TIME
28
29 #define TEST1_LLMAX "8589934592.00 Gb"
30 #define TEST1_LLMIN "-8589934592.00 Gb"
31 #define TEST1_0 "0.00 kb"
32 #define TEST1_1 "1.00 Mb"
33 #define TEST2_STRING "This is a test string! 0123456789+-*/"
34 #define TEST2_PART "This i"
35 #define TEST3_STRING "üÔÏ ÔÅÓÔÏ×ÁÑ ÓÔÒÏËÁ! 0123456789+-*/"
36 #define TEST3_PART "üÔÏ ÔÅÓÔÏ×ÁÑ ÓÔÒÏËÁ! 012345678"
37 #define TEST4_STRING "Try to encode this using blowfish"
38 #define TEST4_PASSWORD "Ha*yN).3zqL!"
39
40 int TestIntToKMG();
41 int Teststrtodouble2();
42 int TestIsDigit();
43 int TestIsAlpha();
44 int TestEncodeDecode();
45 int TestParseIPString();
46 int TestKOIToWIN();
47 int TestDaysInMonth();
48 int TestBlowfish();
49 int TestMin8();
50 int Testinet_ntostr();
51 int TestParseTariffTimeStr();
52 int TestStr2XX2Str();
53