18 lines
557 B
C
18 lines
557 B
C
#include <assert.h>
|
|
|
|
#include "task01_static_allocation_model.h"
|
|
|
|
int main( void )
|
|
{
|
|
StaticAllocationEvidence events[ 1 ] = {
|
|
{ 1U, 1U, 0U, 1U, 8U, 0xFC110001U }
|
|
};
|
|
|
|
assert( fc11_heap_relation_is_valid( 4096U, 2048U, 2048U, 2048U ) != 0 );
|
|
assert( fc11_heap_relation_is_valid( 4096U, 4096U, 4096U, 4096U ) == 0 );
|
|
assert( fc11_heap_relation_is_valid( 4096U, 2048U, 2000U, 2000U ) == 0 );
|
|
assert( fc11_heap_relation_is_valid( 4096U, 2048U, 2048U, 2000U ) == 0 );
|
|
assert( fc11_digest( events, 1U ) != 0U );
|
|
return 0;
|
|
}
|