diff options
Diffstat (limited to 'test_fill.py')
-rw-r--r-- | test_fill.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test_fill.py b/test_fill.py new file mode 100644 index 0000000..9f85f01 --- /dev/null +++ b/test_fill.py @@ -0,0 +1,20 @@ +import fill +import array +a = array.array('I') +a.append(1) +a.append(1) +a.append(3) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +a.append(2) +print "before", a +b = fill.fill(a,2,2,3,3,4278190080) +print "after", b + +print "after 2", array.array('I', b) |