Created
          January 13, 2018 04:20 
        
      - 
      
- 
        Save HashRaygoza/8129377a10d5da68eece3ea7aeab9222 to your computer and use it in GitHub Desktop. 
    Clase para demostracion de jUnit 5
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package mx.calculo; | |
| public class Calculo { | |
| public double calcular(double s) { | |
| return s*s; | |
| } | |
| public double calcularIVA(double precio){ | |
| return precio*016; | |
| } | |
| static public void main(String[] args){ | |
| Calculo c = new Calculo(); | |
| System.out.println("Resultado: " + c.calcular(2.0) + ""); | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment