- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTest.cpp
More file actions
Latest commit
32 lines (29 loc) · 561 Bytes
/
Copy pathTest.cpp
File metadata and controls
32 lines (29 loc) · 561 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
#include"Test.h"
#include"Map.h"
voidtest()
{
Map map;
map.put("A",10);
map.put("B",20);
map.put("C",30);
map.put("arroz",100);
map.put("zorra",200);
map.put("abc",1);
map.put("acb",2);
map.put("bac",3);
if(map.get("A")==10
&& map.get("B")==20
&& map.get("C")==30
&& map.get("arroz")==100
&& map.get("zorra")==200
&& map.get("abc")==1
&& map.get("acb")==2
&& map.get("bac")==3
)
{
cout<<"Pass"<<endl;
}else
{
cout<<"Fail"<<endl;
}
}