-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.cpp
More file actions
35 lines (29 loc) · 934 Bytes
/
test.cpp
File metadata and controls
35 lines (29 loc) · 934 Bytes
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
26
27
28
29
30
31
32
33
34
35
/**
* test.cpp : example driver program for variable types testing.
*
* (please make a local copy of this file called local_test.cpp
* and add to .gitignore for actual testing)
*
* @author
* Xiasu Yang <xiasu.yang@sorbonne-universite.fr>
*/
/*------------------------------------------------------------------*\
Dependencies
\*------------------------------------------------------------------*/
#include "xyfd/LaminarV.h"
#include "xyfd/TurbulentV.h"
#include <iostream>
/*------------------------------------------------------------------*\
Aliases
\*------------------------------------------------------------------*/
using std::cout;
using std::endl;
using namespace xyfd;
int main()
{
TurbulentV var1(1., 1., 1., 1., {1., 1.}, {1., 1., 1., 1.}, 1.);
TurbulentV var2(1., 1., 1., 1., {1., 1.}, {1., 1., 1., 1.}, 2.);
if (var1 != var2) var1 += var2;
cout << var1 << endl;
return 0;
}