Skip to content

Instantly share code, notes, and snippets.

@Quiark
Created April 27, 2015 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Quiark/84ef2b603fd0f7932fe2 to your computer and use it in GitHub Desktop.
Save Quiark/84ef2b603fd0f7932fe2 to your computer and use it in GitHub Desktop.
Strokes test
strokes = load_3d_csv(r'c:\Transfer\cmss\strokes.csv')
for ix, s in enumerate(strokes):
print ix, len(s['x']), len(s['y'])
assert len(s['x']) == len(s['y'])
assert len(s['x']) == len(s['t'])
assert len(s['x']) == (1 + len(s['v']))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment