OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
pqueue.c File Reference
#include <pqueue.h>
#include <check.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for pqueue.c:

Go to the source code of this file.

Functions

void print_double (void *item)
 
bool confirm_order (pqueue *pq, int n,...)
 
void pqueue_push_multiple (pqueue *pq, int n,...)
 
 START_TEST (push_multiple)
 
END_TEST START_TEST (push_to_start)
 
END_TEST START_TEST (move_middle)
 
END_TEST START_TEST (move_last)
 
END_TEST START_TEST (move_first)
 
END_TEST Suite * stub_suite (void)
 
int main (int argc, char **argv)
 

Function Documentation

◆ confirm_order()

bool confirm_order ( pqueue pq,
int  n,
  ... 
)

Definition at line 16 of file pqueue.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 110 of file pqueue.c.

◆ pqueue_push_multiple()

void pqueue_push_multiple ( pqueue pq,
int  n,
  ... 
)

Definition at line 31 of file pqueue.c.

◆ print_double()

void print_double ( void *  item)

Definition at line 13 of file pqueue.c.

◆ START_TEST() [1/5]

END_TEST START_TEST ( move_first  )

Definition at line 85 of file pqueue.c.

◆ START_TEST() [2/5]

END_TEST START_TEST ( move_last  )

Definition at line 74 of file pqueue.c.

◆ START_TEST() [3/5]

END_TEST START_TEST ( move_middle  )

Definition at line 63 of file pqueue.c.

◆ START_TEST() [4/5]

START_TEST ( push_multiple  )

Definition at line 43 of file pqueue.c.

◆ START_TEST() [5/5]

END_TEST START_TEST ( push_to_start  )

Definition at line 53 of file pqueue.c.

◆ stub_suite()

END_TEST Suite* stub_suite ( void  )

Definition at line 96 of file pqueue.c.