Created
January 26, 2023 14:37
-
-
Save didil/ec4cb5a7780a0a54811d36719c548e9e to your computer and use it in GitHub Desktop.
test go iteration sort no generics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func TestInsertInt(t *testing.T) { | |
items := []int{6, 55, 4, 9, 8, 7, 67, 51} | |
InsertSortInt(items) | |
assert.Equal(t, items, []int{4, 6, 7, 8, 9, 51, 55, 67}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment