100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Practica 2ª evaluacion resuelta temas 3 y 4: Diseño y realización de pruebas y Git $7.80   Add to cart

Other

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

 1 view  0 purchase
  • Course
  • Institution

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

Preview 2 out of 12  pages

  • April 7, 2024
  • 12
  • 2021/2022
  • Other
  • Unknown
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller saragonzalo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.80. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

64438 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.80
  • (0)
  Add to cart