push
github
1 of 2 new or added lines in 2 files covered. (50.0%)
2130 existing lines in 341 files now uncovered.2097 of 5211 relevant lines covered (40.24%)
0.4 hits per line
UNCOV
1
|
math functions |
× |
UNCOV
2
|
allDifferences: aDimension |
× |
UNCOV
3
|
|
× |
UNCOV
4
|
| xValues differences | |
× |
UNCOV
5
|
|
× |
UNCOV
6
|
differences := OrderedCollection new.
|
× |
UNCOV
7
|
xValues := (self selectDimension: aDimension) copy sort. |
× |
UNCOV
8
|
1 to: xValues size - 1 do: [:index | |
× |
UNCOV
9
|
differences add: ((xValues at: index + 1) - (xValues at: index))].
|
× |
UNCOV
10
|
(xValues size = 1)
|
× |
UNCOV
11
|
ifTrue: [differences add: (xValues first) * 2].
|
× |
UNCOV
12
|
|
× |
UNCOV
13
|
^ differences |
× |