100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Practica 2ª evaluacion resuelta temas 3 y 4: Diseño y realización de pruebas y Git

Rating
-
Sold
-
Pages
12
Uploaded on
07-04-2024
Written in
2021/2022

Práctica de los temas 3 y 4: Diseño y realización de pruebas y Git de la asignatura de entornos de desarrollo del CFGS Desarrollo de aplicaciones multiplataforma

Institution
Module









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Module

Document information

Uploaded on
April 7, 2024
Number of pages
12
Written in
2021/2022
Type
Other
Person
Unknown

Subjects

Content preview

Práctica UD.3 y UD.4

Clases de equivalencia y casos de prueba sin valores límite:

Clases de equivalencia:

Entrada Tipo clase equiv Clase Código Clase no Código
válida válida
Tipo Miembro del - Euro V1 - Otra NV1
moneda={euro, conjunto - Dólar V2
dólar}
Valor moneda Valor específico 5 V3 6 NV2
Cantidad de Rango: 1500 V4 999 NV3
monedas 1000<=x<=5000

Casos de prueba:

Código CP Tipo moneda Valor moneda Nº monedas Resultado
esperado
CP1(V1,V3,V4) euro 5 1500 7500
CP2(V2,V3,V4) dólar 5 1500 6578.947
CP3(V1,NV2,V4) euro 6 1500 -1
CP4(V1,V3,NV3) euro 5 999 -3
CP5(V2,NV2,V4) dólar 6 1500 -1
CP6(V2,V3,NV3) dólar 5 999 -3
CP7(NV1,V3,V4) otra 5 1500 0

1. Nodos al código:




1

, 2. Grafo:




3. Complejidad ciclomática:

V(G)=nº aristas - nº nodos + 2 = 15 – 12 + 2 = 5

4. Casos de prueba:

Código caso de prueba Camino Prueba Salida
CP1 1,2,4,7,8,12 a=6, b=8 2
CP2 1,2,4,9,10,11,12 a=3, b=7 3
CP3(no va a entrar en
este camino no hay 1,2,3,4,7,8,12 a=-1, b=-3 0
ningún número menor
que 0 y mayor que 5)
CP4 1,2,3,4,9,10,11,12 a=0, b=-2 0
CP5 1,2,3,5,6,12 a=5 b=3 0.6




2
£6.42
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
saragonzalo

Get to know the seller

Seller avatar
saragonzalo juan de la cierva
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
1 year
Number of followers
0
Documents
115
Last sold
8 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions