File: test_api.txt

package info (click to toggle)
python-gasp 0.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 228 kB
  • ctags: 285
  • sloc: python: 1,081; makefile: 15
file content (9 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
   >>> from gasp import *
   >>> import mockbackends 
   >>> mock = mockbackends.MockBackEnd()

Test set_speed for frames per second.
   >>> begin_graphics(back_end=mock)
   >>> set_speed(60) 
   >>> mock.rate
   60