mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-25 03:40:49 +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)
|
|
})
|
|
}
|