|
Ran
|
Files
32
|
Run time
2s
|
Badge
README BADGES
|
push
travis-ci
Add specs for SnapshotDiffCluster I decided to add some basic tests to this model to improve our spec coverage. At the same time I added some guards for edge cases if the image height happens to be 0. There may also be an off-by-1 error in #relative_start, but I'll let @trotzig chime in since he has more context in this particular area of the code. And even if there is an off-by-1 error, it is unlikely to actually matter that much since we only use this to generate the top position of the diff cluster, which may actually benefit from this error anyway. In any case, however, it would be good to at least make that behavior explicit. Change-Id: I2b95ac6ed
582 of 600 relevant lines covered (97.0%)
34.81 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|