#!/usr/bin/env python3
# Control with a known answer: 7,500,000 bytes over 10 s must read exactly 6.000 Mbps.
import os, subprocess
open('ctl.bin','wb').write(b'\0'*7_500_000)
n = os.path.getsize('ctl.bin'); print('control bytes', n, 'Mbps over 10 s =', n*8/10/1e6, '(expected 6.0)')
assert n*8/10/1e6 == 6.0
