Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
test-geo-in-rectangle.c File Reference
#include <gcutter.h>
#include <glib/gstdio.h>
#include "../lib/grn-assertions.h"
#include <str.h>
#include <geo.h>
Include dependency graph for test-geo-in-rectangle.c:

Go to the source code of this file.

Macros

#define get(name)   grn_ctx_get(context, name, strlen(name))
#define DEFINE_GEO_POINT(name)   static grn_obj *name ## _wgs84, *name ## _text
#define SETUP_GEO_POINT(name, latitude, longitude)
#define UNLINK_GEO_POINT(name)
#define ADD_DATA(label, expected, offset, limit)

Functions

void test_in (void)
void test_not_in (void)
void test_select (void)
void data_cursor (void)
void test_cursor (gconstpointer data)
void test_estimate (void)
 DEFINE_GEO_POINT (nezu_no_taiyaki)
 DEFINE_GEO_POINT (takane)
 DEFINE_GEO_POINT (sazare)
 DEFINE_GEO_POINT (yanagi_ya)
 DEFINE_GEO_POINT (hiiragi)
 DEFINE_GEO_POINT (tokyo)
 DEFINE_GEO_POINT (shinjuku)
 DEFINE_GEO_POINT (nerima)
void cut_startup (void)
void cut_shutdown (void)
void cut_setup (void)
void cut_teardown (void)

Macro Definition Documentation

#define ADD_DATA (   label,
  expected,
  offset,
  limit 
)
Value:
gcut_add_datum(label, \
"expected", G_TYPE_POINTER, expected, gcut_list_string_free, \
"offset", G_TYPE_INT, offset, \
"limit", G_TYPE_INT, limit, \
NULL)
#define DEFINE_GEO_POINT (   name)    static grn_obj *name ## _wgs84, *name ## _text

Definition at line 41 of file test-geo-in-rectangle.c.

#define get (   name)    grn_ctx_get(context, name, strlen(name))

Definition at line 27 of file test-geo-in-rectangle.c.

#define SETUP_GEO_POINT (   name,
  latitude,
  longitude 
)
Value:
name ## _wgs84 = wgs84_geo_point_open(latitude, longitude); \
name ## _text = text_geo_point_open(latitude, longitude)
#define UNLINK_GEO_POINT (   name)
Value:
grn_obj_unlink(context, name ## _wgs84); \
grn_obj_unlink(context, name ## _text)

Function Documentation

void cut_setup ( void  )

Definition at line 123 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void cut_shutdown ( void  )

Definition at line 62 of file test-geo-in-rectangle.c.

void cut_startup ( void  )

Definition at line 54 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void cut_teardown ( void  )

Definition at line 176 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void data_cursor ( void  )
DEFINE_GEO_POINT ( nezu_no_taiyaki  )
DEFINE_GEO_POINT ( takane  )
DEFINE_GEO_POINT ( sazare  )
DEFINE_GEO_POINT ( yanagi_ya  )
DEFINE_GEO_POINT ( hiiragi  )
DEFINE_GEO_POINT ( tokyo  )
DEFINE_GEO_POINT ( shinjuku  )
DEFINE_GEO_POINT ( nerima  )
void test_cursor ( gconstpointer  data)
void test_estimate ( void  )

Definition at line 333 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void test_in ( void  )

Definition at line 190 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void test_not_in ( void  )

Definition at line 199 of file test-geo-in-rectangle.c.

Here is the call graph for this function:

void test_select ( void  )

Definition at line 237 of file test-geo-in-rectangle.c.

Here is the call graph for this function: