My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.chuidiang.ejemplos;

/**
* Clase tonta para poder hacer test de junit con ella
*
* @author Chuidiang
*/
public class Suma {
public double getSuma(double a, double b) {
// Se multiplica en vez de sumar a posta, para que los test fallen
return a * b;
}

public double incrementa(double a) {
return a + 1;
}
}

Change log

r53 by chuidiang on May 7, 2009   Diff
Version con junit 3.8.1
Go to: 
Project members, sign in to write a code review

Older revisions

r52 by chuidiang on May 7, 2009   Diff
Version con junit 3.8.1
All revisions of this file

File info

Size: 381 bytes, 17 lines
Powered by Google Project Hosting