Home
last modified time | relevance | path

Searched refs:microfortnights (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/libcxx/test/std/utilities/time/time.hms/time.hms.members/
Dto_duration.pass.cpp35 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
54 assert( check_duration(microfortnights( 1000)) == 12096000); in main()
55 assert( check_duration(microfortnights( -1000)) == -12096000); in main()
56 assert( check_duration(microfortnights( 10000)) == 120960000); in main()
57 assert( check_duration(microfortnights(-10000)) == -120960000); in main()
Dsubseconds.pass.cpp34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
53 assert( check_subseconds(microfortnights( 1000)) == 6000); in main()
54 assert( check_subseconds(microfortnights( -1000)) == 6000); in main()
55 assert( check_subseconds(microfortnights( 10000)) == 0); in main()
56 assert( check_subseconds(microfortnights(-10000)) == 0); in main()
Dhours.pass.cpp43 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
62 assert( check_hours(microfortnights( 1000)) == 0); in main()
63 assert( check_hours(microfortnights( -1000)) == 0); in main()
64 assert( check_hours(microfortnights( 10000)) == 3); in main()
65 assert( check_hours(microfortnights(-10000)) == 3); in main()
Dseconds.pass.cpp34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
53 assert( check_seconds(microfortnights( 1000)) == 9); in main()
54 assert( check_seconds(microfortnights( -1000)) == 9); in main()
55 assert( check_seconds(microfortnights( 10000)) == 36); in main()
56 assert( check_seconds(microfortnights(-10000)) == 36); in main()
Dminutes.pass.cpp34 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
53 assert( check_minutes(microfortnights( 1000)) == 20); in main()
54 assert( check_minutes(microfortnights( -1000)) == 20); in main()
55 assert( check_minutes(microfortnights( 10000)) == 21); in main()
56 assert( check_minutes(microfortnights(-10000)) == 21); in main()
Dis_negative.pass.cpp31 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
50 assert(!check_neg(microfortnights( 10000))); in main()
51 assert( check_neg(microfortnights(-10000))); in main()
Dwidth.pass.cpp38 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
55 static_assert( check_width<microfortnights, 4>(), ""); in main()
Dprecision_type.pass.cpp60 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
77 static_assert( check_precision<microfortnights, 4>(), ""); in main()
Dprecision.pass.cpp60 using microfortnights = std::chrono::duration<int, std::ratio<756, 625>>; in main() typedef
77 static_assert( check_precision<microfortnights, 4>(), ""); in main()
/external/llvm-project/llvm/unittests/Support/
DChrono.cpp106 microfortnights; in TEST() typedef
107 EXPECT_EQ("1.00", formatv("{0:-}", microfortnights(1)).str()); in TEST()
108 EXPECT_EQ("1209.60 ms", formatv("{0:ms}", microfortnights(1)).str()); in TEST()