Esempio n. 1
0
Event *event_construct4(const char *header, float branchLength, Event *parentEvent,
        Event *childEvent, EventTree *eventTree) {
    return event_construct2(cactusDisk_getUniqueID(flower_getCactusDisk(
                eventTree_getFlower(eventTree))), header, branchLength, parentEvent, childEvent,
                eventTree);
}
Esempio n. 2
0
Block *block_construct(int64_t length, Flower *flower) {
	return block_construct2(cactusDisk_getUniqueID(flower_getCactusDisk(flower)), length,
			end_construct3(cactusDisk_getUniqueID(flower_getCactusDisk(flower)), 0, 0, 1, flower),
			end_construct3(cactusDisk_getUniqueID(flower_getCactusDisk(flower)), 0, 0, 0, flower), flower);
}
Esempio n. 3
0
void testFlower_getCactusDisk(CuTest* testCase) {
    cactusFlowerTestSetup();
    CuAssertTrue(testCase, flower_getCactusDisk(flower) == cactusDisk);
    cactusFlowerTestTeardown();
}