mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-22 10:20:48 +00:00
17 lines
291 B
Go
17 lines
291 B
Go
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)
|
|
})
|
|
}
|