aoc2023/day-1/util_test.go

17 lines
292 B
Go
Raw Normal View History

2023-12-02 15:07:04 +00:00
package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestReverse(t *testing.T) {
//t.Skip("skipping test")
input := "eightwone3"
expected := "3enowthgie"
t.Run("Should reverse the string", func(t *testing.T) {
assert.Equal(t, expected, reverse(input))
})
}