aoc2023/day-6/one_test.go

17 lines
291 B
Go
Raw Normal View History

2023-12-06 15:56:20 +00:00
package main
import (
"testing"
"github.com/go-playground/assert"
)
func TestCalculate(t *testing.T) {
//t.Skip("skipping test")
res := calculate(7, 9)
t.Run("Should produce an equal number of win possibilities", func(t *testing.T) {
assert.Equal(t, []int{2, 3, 4, 5}, res)
})
}