MCPcopy Create free account
hub / github.com/geekcomputers/Python / measure

Function measure

Colors/pixel_sort.py:61–65  ·  view source on GitHub ↗
(count, row, col, height, width)

Source from the content-addressed store, hash-verified

59
60# Measures the total number of pixels that were involved in pixel sort
61def measure(count, row, col, height, width):
62 global total
63 total += count
64 if row == height - 1 and col == width - 1:
65 createDataSet(val=total)
66
67
68# Step Sorting Algorithm

Callers 1

mainFunction · 0.85

Calls 1

createDataSetFunction · 0.85

Tested by

no test coverage detected