nodding_lidar
読み取り中…
検索中…
一致する文字列を見つけられません
test_geometry.cpp ファイル

入力と期待する結果を比較し、対象処理の動作を確かめる試験。試験関数から確認条件を参照できる。 [詳解]

#include <cmath>
#include <cstdio>
#include <cstdlib>
#include "nodding_lidar/geometry.hpp"

[ソースコード]

関数

static void check (bool ok, const char *what)
static bool near (double a, double b, double eps=1e-4)
static double deg (double d)
int main ()

変数

static int g_failures = 0

詳解

入力と期待する結果を比較し、対象処理の動作を確かめる試験。試験関数から確認条件を参照できる。

test_geometry.cpp に定義があります。

関数詳解

◆ check()

void check ( bool ok,
const char * what )
static

test_geometry.cpp の 12 行目に定義があります。

◆ deg()

double deg ( double d)
static

test_geometry.cpp の 25 行目に定義があります。

◆ main()

int main ( )

test_geometry.cpp の 27 行目に定義があります。

◆ near()

bool near ( double a,
double b,
double eps = 1e-4 )
static

test_geometry.cpp の 20 行目に定義があります。

変数詳解

◆ g_failures

int g_failures = 0
static

test_geometry.cpp の 10 行目に定義があります。