add_test.go 102 B

1234567891011
  1. package simplemath
  2. import (
  3. "testing"
  4. )
  5. func TestAdd(t *){
  6. v :=Sqrt(16)
  7. if v!=4{
  8. t.Errorf()
  9. }
  10. }