more logs

This commit is contained in:
Termina1
2022-12-02 20:22:18 +02:00
parent d371e0c475
commit dea9e9ec5f
4 changed files with 14 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ class NoChoiceWithPriorityForkChoiceSpec extends Specification {
def "filters blocks"() {
def blockR0 = blocks[0].copyWithRating(10)
def blockR1 = blocks[1].copyWithRating(10)
def choice = new NoChoiceWithPriorityForkChoice(10)
def choice = new NoChoiceWithPriorityForkChoice(10, "test")
when:
choice.choose(blocks[0])
then:
@@ -34,7 +34,7 @@ class NoChoiceWithPriorityForkChoiceSpec extends Specification {
def "chooses blocks and adds rating"() {
def blockR0 = blocks[0].copyWithRating(10)
def blockR1 = blocks[1].copyWithRating(10)
def choice = new NoChoiceWithPriorityForkChoice(10)
def choice = new NoChoiceWithPriorityForkChoice(10, "test")
when:
choice.choose(blocks[0])
then: