Beispiel #1
0
func TestHighBound(t *testing.T) {
	x := real.Vector{1, 3}
	x.HighBound(2)
	if x[0] != 1 || x[1] != 2 {
		t.Fail()
	}
}