nope, I'm talking about two different bikes with different wheel sizes. Assuming that both have the same mass and you apply the same amount of power to accelerate it, the smaller wheels would go faster.
I agree with Mconlonx, practically we dont apply this nor care about how fast we accelerate. We just ride and enjoy every bit of it.
2013 Cannondale CAAD10 * 2012 Tern Verge Duo * 2011 Trek Sawyer * 2011 GT Avalanche 3
If both the bikes and the wheels have the same mass (and mass distribution) then the energy required to accelerate them to a given speed will be equal. Keep in mind that the smaller wheel will need to be spinning faster (higher rpm) for a given linear speed of the bike. Work out the math and the wheel size is not a factor.
Of course in practice smaller wheels will tend to be lighter so there might be an advantage - but you specified equal mass wheels. There could also be an aerodynamic advantage to the smaller wheels. OTOH, if the tire construction and pressures are kept fixed then there tends to be a rolling resistance advantage for larger wheels. Both of these are small effects - details of both bikes and other factors (e.g. speed reached) would need to be specified to see which one is greater in a particular case.