-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
116 lines (87 loc) · 2.28 KB
/
main.cpp
File metadata and controls
116 lines (87 loc) · 2.28 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#include <iostream>
#include "dominios.h"
#include "entidades.h"
#include "testes.h"
using namespace std;
int main(){
cout << endl << "TESTES DOS DOMINIOS" << endl;
TUCodPagamento testeA;
if(testeA.run() == true) {
cout << "Sucesso - Codigo de Pagamento" << endl;
}else {
cout << "Falha - Codigo de Pagamento" << endl;
}
TUCodTitulo testeB;
if(testeB.run() == true) {
cout << "Sucesso - Codigo de Titulo" << endl;
}else {
cout << "Falha - Codigo de Titulo" << endl;
}
TUCPF testeC;
if(testeC.run() == true) {
cout << "Sucesso - CPF" << endl;
}else {
cout << "Falha - CPF" << endl;
}
TUData testeD;
if(testeD.run() == true) {
cout << "Sucesso - Data" << endl;
}else {
cout << "Falha - Data" << endl;
}
TUDinheiro testeE;
if(testeE.run() == true) {
cout << "Sucesso - Dinheiro" << endl;
}else {
cout << "Falha - Dinheiro" << endl;
}
TUEstado testeF;
if(testeF.run() == true) {
cout << "Sucesso - Estado" << endl;
}else {
cout << "Falha - Estado" << endl;
}
TUNome testeG;
if(testeG.run() == true) {
cout << "Sucesso - Nome" << endl;
}else {
cout << "Falha - Nome" << endl;
}
TUPercentual testeH;
if(testeH.run() == true) {
cout << "Sucesso - Percentual" << endl;
}else {
cout << "Falha - Percentual" << endl;
}
TUSenha testeI;
if(testeI.run() == true) {
cout << "Sucesso - Senha" << endl;
}else {
cout << "Falha - Senha" << endl;
}
TUSetor testeJ;
if(testeJ.run() == true) {
cout << "Sucesso - Setor" << endl;
}else {
cout << "Falha - Setor" << endl;
}
cout << endl << "TESTES DAS ENTIDADES" << endl;
TUConta testeK;
if(testeK.run() == true) {
cout << "Sucesso - Conta" << endl;
}else {
cout << "Falha - Conta" << endl;
}
TUTitulo testeL;
if(testeL.run() == true) {
cout << "Sucesso - Titulo" << endl;
}else {
cout << "Falha - Titulo" << endl;
}
TUPagamento testeM;
if(testeM.run() == true) {
cout << "Sucesso - Pagamento" << endl;
}else {
cout << "Falha - Pagamento" << endl;
}
}