Skip to content

Commit

Permalink
emergency commit to fix exam
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Fremond committed Jan 19, 2024
1 parent 2998c0f commit b7107df
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/countcharacter_test/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package main

import (
student "student"

"github.com/01-edu/go-tests/lib/challenge"
"github.com/01-edu/go-tests/solutions"
)

func main() {
challenge.Function("CountChar", solutions.CountChar, student.CountChar, "hello", 'e')
challenge.Function("CountChar", solutions.CountChar, student.CountChar, " ", ' ')
challenge.Function("CountChar", solutions.CountChar, student.CountChar, "the 7 deadly sins", '7')
challenge.Function("CountChar", solutions.CountChar, student.CountChar, "the 7 deadly sins", 's')
challenge.Function("CountChar", solutions.CountChar, student.CountChar, "the 7 deadly sins", 'd')
challenge.Function("CountChar", solutions.CountChar, student.CountChar, "", 'i')
}

0 comments on commit b7107df

Please sign in to comment.