@@ -24,3 +24,5 @@ _testmain.go
*.test
*.prof
+/.idea
+/.project
@@ -0,0 +1,12 @@
+package calc
+
+import "fmt"
+var Usage=func(){
+ fmt.Println("USAGE: calc command [arguments] ...")
+ fmt.Println("")
+ fmt.Println("\nThe commands are:\n\tadd\tAddition of two values.\n\tsqrt\tSquares")
+}
+func main(){
@@ -0,0 +1,8 @@
+package simplemath
+import (
+)
+func Add(a int,b int) int{
+ return a+b
@@ -0,0 +1,11 @@
+ "testing"
+func TestAdd(t *){
+ v :=Sqrt(16)
+ if v!=4{
+ t.Errorf()
+ }
@@ -0,0 +1,6 @@