Translations:KDevelop5/Manual/Code generation with templates/75/da
Appearance
- testNumberOfPassengers
void TestBus::testNumberOfPassengers() { m_bus.setNumberOfPassengers(1); QVERIFY(m_bus.numberOfPassengers() == 1); }
void TestBus::testNumberOfPassengers()
{
m_bus.setNumberOfPassengers(1);
QVERIFY(m_bus.numberOfPassengers() == 1);
}