mirror of
https://github.com/brianstrauch/solitaire-tui.git
synced 2024-12-26 21:58:44 +01:00
14 lines
174 B
Go
14 lines
174 B
Go
package pkg
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestFlip(t *testing.T) {
|
|
card := new(Card)
|
|
card.Flip()
|
|
|
|
require.True(t, card.IsVisible)
|
|
}
|