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

doppelganger9 / mastermind / #173

11 Apr 2024 07:28PM UTC coverage: 0.0%. First build
#173

push

web-flow
Merge a15e8f6c6 into cbbf3a44e

0 of 13 new or added lines in 3 files covered. (0.0%)

0 of 91 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/main/java/com/doppelganger9/mastermind/Turn.java
1

2
package com.doppelganger9.mastermind;
3

4
import lombok.Builder;
5

NEW
6
@Builder(toBuilder = true)
×
NEW
7
record Turn(String userInput, int nbCorrect, int nbMisplaced, int turn) {
×
NEW
8
    static final Integer MAX_NB_TURNS = 10;
×
9

10
    String toBoardLineOutput() {
11
      String cturn = this.turn>=9 ? "" + (this.turn+1) : " " + (this.turn+1);
×
12
                  return "|" + this.userInput + "| " + this.nbCorrect + " | " + this.nbMisplaced + " |" + cturn + "/" + MAX_NB_TURNS + " |\n";
×
13
        }
14
}
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