Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Unknown macro: {greenpepper-info}
Calculator Example

The main purpose of this example is to show you :

The simplicity of the Calculator example allows to avoid confusion between the system context and the specific behavior of GreenPepper Software.

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

Unknown macro: {greenpepper-import}

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

Unknown macro: {greenpepper-info}

Calculator.java

  • No labels