Last active
August 9, 2017 04:40
-
-
Save utkarshmani1997/3e94b904fd66a0abb31e70fc81f95f76 to your computer and use it in GitHub Desktop.
Demo of unit testing using Ginkgo
This file contains 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
package main | |
import "fmt" | |
func Sum(x, y int) int { | |
fmt.Println("Received Digits :", x, y) | |
return x + y | |
} | |
func main() { | |
m, n := 3, 4 | |
fmt.Println(Sum(m, n)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment