You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
243 B

package student_test
import (
"testing"
student "./student"
)
func TestUltimatePointOne(t *testing.T) {
a := 0
b := &a
n := &b
student.UltimatePointOne(&n)
if a != 1 {
t.Fatalf("UltimatePointOne(&n), a == %d instead of 1", a)
}
}