1 |
//-------------------------------------------------------------------------------
|
2 |
//$Header: /home/dashley/cvsrep/uculib01/uculib01/src/common/common/mflibvercmprxx/unittest/ut_project/stm8/cosmic/modx0/main.c,v 1.2 2010/02/04 20:44:02 dashley Exp $
|
3 |
//-------------------------------------------------------------------------------
|
4 |
//Copyright (c)2010 David T. Ashley
|
5 |
//
|
6 |
//Permission is hereby granted, free of charge, to any person obtaining a copy
|
7 |
//of this software source code and associated documentation files (the
|
8 |
//"Software"), to deal in the Software without restriction, including without
|
9 |
//limitation the rights to use, copy, modify, merge, publish, distribute,
|
10 |
//sublicense, and/or sell copies of the Software, and to permit persons to whom
|
11 |
//the Software is furnished to do so, subject to the following conditions:
|
12 |
//
|
13 |
//The above copyright notice and this permission notice shall be included in
|
14 |
//all copies or substantial portions of the Software.
|
15 |
//
|
16 |
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17 |
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18 |
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19 |
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20 |
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21 |
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22 |
//THE SOFTWARE.
|
23 |
//-------------------------------------------------------------------------------
|
24 |
//This program links with the library and performs automated unit tests on the
|
25 |
//UcuAtU16LscZyiFAxdAxrRxx() function.
|
26 |
//-------------------------------------------------------------------------------
|
27 |
#include "\uculib01\include\stm8\cosmic\c\uculib.h"
|
28 |
#include "utfu_mflibvercmprxx.h"
|
29 |
|
30 |
|
31 |
volatile UCU_BOOLEAN result;
|
32 |
|
33 |
void main(void)
|
34 |
{
|
35 |
result = UtfuMfLibVerCmpRxx();
|
36 |
|
37 |
//May examine the result assignment above to figure out if the unit test passed.
|
38 |
|
39 |
while (1);
|
40 |
}
|
41 |
|
42 |
|
43 |
//-------------------------------------------------------------------------------
|
44 |
//$Log: main.c,v $
|
45 |
//Revision 1.2 2010/02/04 20:44:02 dashley
|
46 |
//Edits.
|
47 |
//
|
48 |
//Revision 1.1 2010/02/04 20:09:50 dashley
|
49 |
//Initial checkin.
|
50 |
//-------------------------------------------------------------------------------
|
51 |
//End of $RCSfile: main.c,v $
|
52 |
//-------------------------------------------------------------------------------
|