summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest/StringFile.cxx
blob: bc2312be0b6b899145e25d9901f4359648f7d192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdio.h>
#include <string.h>
#include "OutputFile.h"

int main(int, char*[])
{
  int res = 0;

  res += CheckMethod(rmvar, "CMake");
  res += CheckMethod(rmallvar, "CMake;cmake;CMake");
  res += CheckMethod(rrepvar, "People should use CMake and CMake");
  res += CheckMethod(nceqvar, "0");
  res += CheckMethod(ceqvar, "1");
  res += CheckMethod(cneqvar, "1");
  res += CheckMethod(ncneqvar, "0");
  res += CheckMethod(nclvar, "0");
  res += CheckMethod(clvar, "1");
  res += CheckMethod(cgvar, "1");
  res += CheckMethod(ncgvar, "0");
  res += CheckMethod(savar, "Cmake");
  res += CheckMethod(tuvar, "CMAKE");
  res += CheckMethod(tlvar, "cmake");
  
  return res;
}