示例#1
0
 def test_flip(self):
     good = TextStim(self.win, text='a', pos=(.5,.5))
     b = BufferImageStim(self.win, stim=[good])
     b.setFlipHoriz(True)
     assert b.flipHoriz == True
     b.setFlipVert(True)
     assert b.flipVert == True
示例#2
0
 def test_flip(self):
     good = TextStim(self.win, text='a', pos=(.5, .5), autoLog=False)
     b = BufferImageStim(self.win, stim=[good], autoLog=False)
     b.setFlipHoriz(True)
     assert b.flipHoriz == True
     b.setFlipVert(True)
     assert b.flipVert == True