File: test-misc.c

package info (click to toggle)
libdogleg 0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 284 kB
  • sloc: ansic: 2,700; makefile: 38; sh: 16
file content (16 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>
#include "dogleg.h"

int main(void)
{
  dogleg_parameters2_t p = {.debug_vnlog = true};
  if(p.dogleg_debug != DOGLEG_DEBUG_VNLOG)
  {
    printf("ERROR: DOGLEG_DEBUG_VNLOG bit alignment does NOT match libdogleg v0.16\n");
    return 1;
  }
  printf("OK: DOGLEG_DEBUG_VNLOG bit alignment DOES match libdogleg v0.16\n");

  return 0;
}