User solution with logic error

in this solution: https://exercism.org/tracks/swift/exercises/wings-quest/solutions/PedroJoaquim97 in the win function, if I do powerUpActive = true e touchingEagle = true:

!powerUpActive && touchingEagle
!true && true => false && true => false
negating: !false => true

doing !powerUpActive && !touchingEagle like the user:

!powerUpActive && !touchingEagle
!true && !true => false && false => false

Yes. The solution could be better. If the user wanted to improve their solution, they could request mentoring and the mentor would hopefully point that out.

@IsaacG the problem is that it passed out the tests

Okay. Are you suggesting the tests should be improved in some way? What would you suggest changing?

@IsaacG to do a test that dont pass this specific case?

That sounds reasonable. Is there a specific test you would like to propose here?

@IsaacG

#expect(win(hasPickedUpAllSeeds: true, powerUpActive: true, touchingEagle: true))

+cc @Meatball as the Swift maintainer to evaluate if this test should be added.