I went to the bike shop and had it tested. Black is negative, white is positive, according to the owner.
I have another problem now. It works fine when I lift the back tire and give it the throttle, but as soon as I try to ride it, it gives a half second burst of power then it dies along with...