-
Notifications
You must be signed in to change notification settings - Fork 0
/
PSasS Execução Exemplo.txt
138 lines (138 loc) · 3.41 KB
/
PSasS Execução Exemplo.txt
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
UFABC Disciplina: Engenharia de Software - PSasS
Professor: João Marcelo Borovina Josko
Aluno: Bruno Sanches Rodrigues RA: 11201721076
++++++++++++++++++++++++++++++
Para utilizar, digite as quantidades inteiras ou responda com uma das letras 's' o
u 'n'
++++++++INICIALIZAÇÃO+++++++++
Digite o tempo disponível
>>10
Digite o dinheiro disponível
>>10
++++++++++REQUISITOS++++++++++
Digite o número de requisitos
>>4
Digite a descrição para Requisito 1
>>Primeiro requisito funcional
Digite o tempo necessário para Requisito 1
>>2
Digite o custo necessário para Requisito 1
>>3
Digite a descrição para Requisito 2
>>Segundo req
Digite o tempo necessário para Requisito 2
>>3
Digite o custo necessário para Requisito 2
>>4
Digite a descrição para Requisito 3
>>Terceiro req
Digite o tempo necessário para Requisito 3
>>1
Digite o custo necessário para Requisito 3
>>2
Digite a descrição para Requisito 4
>>Quarto req
Digite o tempo necessário para Requisito 4
>>10
Digite o custo necessário para Requisito 4
>>5
+++++++++++PROJETO++++++++++++
Deseja criar um Projeto com todos os requisitos?(s/n)
>>n
Selecione os requisitos que deseja incluir
Deseja incluir Requisito 1?(s/n)
>>s
Deseja incluir Requisito 2?(s/n)
>>s
Deseja incluir Requisito 3?(s/n)
>>s
Deseja incluir Requisito 4?(s/n)
>>n
Digite a descrição para Projeto 0
>>Primeiro projeto
Projeto 0
descrição:Primeiro projeto
tempo necessário:6
custo:9
eligibilidade:False
Testando tempo e custo do Projeto 0:
tempo: disponível 10, necessário 6
dinheiro: disponível 10, necessário 9
tempo: Ok
custo: Ok
Deseja adicionar requisitos ao Projeto 0?(s/n)
>>s
Digite o número de requisitos
>>2
Digite a descrição para Requisito 4
>>Quarto req
Digite o tempo necessário para Requisito 4
>>3
Digite o custo necessário para Requisito 4
>>1
Digite a descrição para Requisito 5
>>Quinto req
Digite o tempo necessário para Requisito 5
>>1
Digite o custo necessário para Requisito 5
>>2
Testando tempo e custo do Projeto 0:
tempo: disponível 10, necessário 10
dinheiro: disponível 10, necessário 12
tempo: Ok
custo: Falhou
Deseja remover requisitos do Projeto 0?(s/n)
>>s
Deseja remover Requisito 1?(s/n)
>>s
Deseja remover Requisito 2?(s/n)
>>n
Deseja remover Requisito 3?(s/n)
>>n
Deseja remover Requisito 4?(s/n)
>>n
Deseja remover Requisito 5?(s/n)
>>n
Testando tempo e custo do Projeto 0:
tempo: disponível 10, necessário 8
dinheiro: disponível 10, necessário 9
tempo: Ok
custo: Ok
Projeto 0
descrição:Primeiro projeto
tempo necessário:8
custo:9
eligibilidade:True
++++++++++++CÓDIGO++++++++++++
Deseja implementar Projeto 0 como um código?(s/n)
>>s
Digite a descrição para Codigo 0
>>Primeiro código
Codigo 0
descrição:Primeiro código
passou testes:False
++++++++++++TESTES++++++++++++
Deseja testar Codigo 0?(s/n)
>>s
Testando Codigo 0
teste 1: esperado 2, obtido 2
teste 1: Ok
teste 2: esperado 3, obtido 3
teste 2: Ok
teste 3: esperado 4, obtido 4
teste 3: Ok
teste 4: esperado 5, obtido 5
teste 4: Ok
Codigo 0
descrição:Primeiro código
passou testes:True
+++++++++++PRODUTO++++++++++++
Deseja implementar Codigo 0 como um produto?(s/n)
>>s
Digite a descrição para Produto 0
>>Primeiro produto
Produto 0
descrição:Primeiro produto
Está satisfeito com o Produto 0?(s/n)
>>s
++++++++++++++FIM+++++++++++++