func (this *Assert) Pointer(value interface{}) *PointerSubject { return &PointerSubject{ Subject: Subject{ a: this, disp: serial.PointerToString(value), }, value: value, } }
func (subject *PointerSubject) Equals(expectation interface{}) { if subject.value != expectation { subject.Fail("is equal to", serial.PointerToString(expectation)) } }