Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/util/testing/TestConverter.cpp @ 1287

Last change on this file since 1287 was 790, checked in by nicolasc, 17 years ago

merged FICN back into trunk
awaiting release.

File size: 257 bytes
RevLine 
[727]1#include "Convert.h"
2#include <iostream>
3
4int main(int argc, char** argv)
5{
[728]6  int input = rand();
[727]7  std::string sub;
8  int output = 0;
9
10  ConvertValue(&sub, input);
11  ConvertValue(&output, sub);
12
13  if (input == output)
14    return 0;
15  else
16    return -1;
17}
Note: See TracBrowser for help on using the repository browser.