-
Notifications
You must be signed in to change notification settings - Fork 9
0.7.x manual 03.EXAMPLES
Hiroshi Ukai edited this page Jun 29, 2016
·
6 revisions
This page is work in progress!!!
- session1: Test initial version of quadratic equation solver.
-
session2:
Exclude invalid test cases, whose
a
is 0. Because they are not quadratic equations. And allow tests to accept solutions which make the equation less than 0.01. -
session3:
Exclude tests cases whose absolute values of
a
,b
, andc
because they cause overflows. -
session4:
The SUT,
QuadraticEquationSolver
is now enhanced to throwIllegalArgumentException
when solutions become imaginary. Tests need to be enhanced to handle this new behaviour, too.@When
annotation will be introduced to switch test methods to be executed. - session5: How to implement a topLevelConstraint (part - 1).
- session6: How to implement a topLevelConstraint (part - 2). Defining negative tests. (part - 1).
- session7: How to implement a topLevelConstraint (part - 2). Generating negative tests smartly.
Copyright 2013 Hiroshi Ukai.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.