Dashboard > GreenPepper Demo > Home > Calculator
  GreenPepper Demo Log In View a printable version of the current page.  
  Calculator
Added by Francois Denommee, last edited by Dominic Danis on Dec 03, 2008  (view change)
Labels: 
(None)

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.
Begin Info
Calculator Example

This main purpose of this example is to show you :

Another particularity of this example is that we do not need to write a custom fixture : the Calculator class will be use directly.

End Info
Import
com.greenpepper.confluence.demo.calculator
Rule for calculator
x y sum? product? quotient?
0 0 0 0 error
1 0 1 0 error
0 1 1 0 0
1 1 2 1 1
10 2 12 20 5

Source Code

Calculator.java

Calculator.java (GreenPepper Demo)

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators