• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Martomate / TriPaint / 9275511596

28 May 2024 07:51PM UTC coverage: 29.682% (+1.8%) from 27.877%
9275511596

push

github

Martomate
Updated to Scala 3.4 and MUnit 1.0

2 of 11 new or added lines in 9 files covered. (18.18%)

430 existing lines in 38 files now uncovered.

401 of 1351 relevant lines covered (29.68%)

0.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/src/main/scala/tripaint/model/effects/CellEffect.scala
1
package tripaint.model.effects
2

3
import tripaint.model.{Color, ColorLookup}
4
import tripaint.model.coords.GlobalPixCoords
5

6
class CellEffect extends LocalEffect {
UNCOV
7
  def name: String = "Cell"
×
8

9
  override protected def predicate(
1✔
10
      image: ColorLookup,
11
      here: GlobalPixCoords
12
  )(coords: GlobalPixCoords, color: Color): Boolean = {
13
    coords.cell == here.cell
1✔
14
  }
15

16
  override protected def weightedColor(image: ColorLookup, here: GlobalPixCoords)(
1✔
17
      coords: GlobalPixCoords
18
  ): (Double, Color) = {
19
    (1, image.lookup(coords).get)
1✔
20
  }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc