Skip to content

Commit 14f559a

Browse files
Issue 154 test coverage (#172)
* [issue-154] Added the Accuracy-Core package to coveralls.io * [issue-154] Use the new method that takes the key as a parameter. * We can now use the '*' to simplify things. * Corrected the number of tests we have.
1 parent 2d48607 commit 14f559a

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.smalltalk.ston

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ SmalltalkCISpec {
99
#testing : {
1010
#coverage : {
1111
#packages : [
12-
'Math-Accuracy-ODE',
13-
'Math-ArbitraryPrecisionFloat',
14-
'Math-AutomaticDifferenciation',
12+
'Math-A*',
1513
'Math-B*',
1614
'Math-C*',
1715
'Math-D*',

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Metacello new
4141
```
4242

4343

44-
We have **815** green tests ! At the moment, all the development happens in the master branch (we are using trunk-based development).
44+
We have **816** green tests ! At the moment, all the development happens in the master branch (we are using trunk-based development).
4545

4646
PolyMath is a Pharo project, similar to existing scientific libraries like NumPy, SciPy for Python or SciRuby for Ruby. PolyMath already provides the following basic functionalities:
4747
- complex and quaternions extensions,

src/Math-Tests-Accuracy/PMAccuracyTestExample.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ PMAccuracyTestExample >> argumentWith: key [
2323

2424
{ #category : #tests }
2525
PMAccuracyTestExample >> checkAaa [
26-
self argument first
26+
(self argumentWith: 'Aaa') first
2727
ifTrue: [ ^ #(1 1) ].
2828
^ Array with: (4 + (0.4 * Random new next)) with: 2
2929
]
3030

3131
{ #category : #tests }
3232
PMAccuracyTestExample >> checkBbb [
33-
^ self argument first size + self parameter first
33+
^ (self argumentWith: 'Bbb') first size + self parameter first
3434
]
3535

3636
{ #category : #tests }
3737
PMAccuracyTestExample >> checkCcc [
38-
^ self argument first + (0.01 * self parameter first)
38+
^ (self argumentWith: 'Ccc') first + (0.01 * self parameter first)
3939
]
4040

4141
{ #category : #tests }

0 commit comments

Comments
 (0)