~ubuntu-branches/ubuntu/trusty/liblas/trusty-proposed

« back to all changes in this revision

Viewing changes to python/tests/Color.txt

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2014-01-05 17:00:29 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140105170029-ddtp0j63x5jvck2u
Tags: 1.7.0+dfsg-2
Fixed missing linking of system boost component.
(closes: #733282)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
  >>> from liblas import color
 
2
  >>> c = color.Color()
 
3
  >>> c.red
 
4
  0
 
5
  >>> c.green
 
6
  0
 
7
  >>> c.blue
 
8
  0
 
9
  
 
10
  >>> c = color.Color(red = 123, blue = 125, green = 124)
 
11
  >>> c.red
 
12
  123
 
13
  >>> c.green
 
14
  124
 
15
  >>> c.blue
 
16
  125
 
17
 
 
18
 
 
19
  >>> for i in c:
 
20
  ...     print i
 
21
  123
 
22
  124
 
23
  125
 
24
  
 
25
  >>> list(c)
 
26
  [123, 124, 125]
 
 
b'\\ No newline at end of file'