File: convert.rs

package info (click to toggle)
rust-time 0.3.47-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,972 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 131 bytes parent folder | download
1
2
3
4
5
6
7
use rstest::rstest;
use time::convert::*;

#[rstest]
fn issue_749() {
    assert_eq!(Nanosecond::per(Second), 1_000_000_000u32);
}