-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
47 lines (37 loc) · 950 Bytes
/
main.cpp
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
36
37
38
39
40
41
42
43
44
45
46
47
//============================================================================
// Name : main.cpp
// Author : ANTOINE Sylvestre
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostream>
#include <typeinfo>
#include "debug.hpp"
#include "conteneur.hpp"
#include "direction.hpp"
#include "functionnal.hpp"
#include "smartPtr.hpp"
using namespace ami;
void sleep (unsigned int ms)
{
showScopeFunc();
int goal = ms + clock();
while (goal > clock())
;
}
int main ()
{
showScopeFunc();
sleep(100);
separator("<ami::grid Test>");
ami::Grid<char> map(3,3,'_');
debugln(map);
map[GridLocation(2,0)] = '5';
debugln(map);
debugln(map.contains(GridLocation(5,5)));
debugln(map.toVector());
separator("</ami::grid Test>");
std::cout << "!!!EXIT SUCCESS!" << std::endl;
return 0;
}