summaryrefslogtreecommitdiff
path: root/test/body_detection_test_data.h
blob: 913701455b149a635e883653e5008fc5ffac139b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright 2020 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __CROS_EC_BODY_DETECTION_TEST_DATA_H
#define __CROS_EC_BODY_DETECTION_TEST_DATA_H

#include "body_detection.h"
#include "motion_sense.h"

struct body_detect_test_data {
	float x, y, z;
	int action;
};

extern const struct body_detect_test_data kBodyDetectOnBodyTestData[];
extern const size_t kBodyDetectOnBodyTestDataLength;

extern const struct body_detect_test_data kBodyDetectOffOnTestData[];
extern const size_t kBodyDetectOffOnTestDataLength;

extern const struct body_detect_test_data kBodyDetectOnOffTestData[];
extern const size_t kBodyDetectOnOffTestDataLength;
#endif