added unit tests for scatter and scatter_if with fancy iterators resolves issue #46
added unit tests for scatter and scatter_if with fancy iterators
resolves issue #46

google-code-export/thrust,allendaicool/thrust,lishi0927/thrust,Vishwa07/thrust,julianromera/thrust,malenie/thrust,UIKit0/thrust,julianromera/thrust,lishi0927/thrust,malenie/thrust,hemmingway/thrust,h1arshad/thrust,allendaicool/thrust,levendlee/thrust,lishi0927/thrust,h1arshad/thrust,malenie/thrust,h1arshad/thrust,bfurtaw/thrust,google-code-export/thrust,allendaicool/thrust,UIKit0/thrust,google-code-export/thrust,Vishwa07/thrust,bfurtaw/thrust,Vishwa07/thrust,h1arshad/thrust,levendlee/thrust,hemmingway/thrust,bfurtaw/thrust,julianromera/thrust,UIKit0/thrust,julianromera/thrust,Vishwa07/thrust,google-code-export/thrust,levendlee/thrust,levendlee/thrust,allendaicool/thrust,UIKit0/thrust,rdmenezes/thrust,hemmingway/thrust,hemmingway/thrust,rdmenezes/thrust,malenie/thrust,rdmenezes/thrust,lishi0927/thrust,bfurtaw/thrust,rdmenezes/thrust