File: rep.rs

package info (click to toggle)
rust-input-event-codes 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 340 kB
  • sloc: makefile: 4
file content (23 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![allow(non_snake_case)]

use input_event_codes::{REP_CNT, REP_DELAY, REP_MAX, REP_PERIOD};

#[test]
fn test_REP_DELAY() {
	assert_eq!(REP_DELAY!(), 0x00);
}

#[test]
fn test_REP_PERIOD() {
	assert_eq!(REP_PERIOD!(), 0x01);
}

#[test]
fn test_REP_MAX() {
	assert_eq!(REP_MAX!(), 0x01);
}

#[test]
fn test_REP_CNT() {
	assert_eq!(REP_CNT!(), (REP_MAX!() + 1));
}