Skip to content

Commit d51a836

Browse files
committed
Fix tests with environment::tick_count
1 parent 6288c08 commit d51a836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/xtd.core.unit_tests/src/xtd/tests/random_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using namespace xtd::tunit;
1313
namespace xtd::tests {
1414
class test_class_(random_tests) {
1515
void test_method_(default_constructor) {
16-
assert::are_equal(std::default_random_engine {static_cast<uint32>(environment::tick_count().count())}, xtd::random {}.generator());
16+
assert::are_equal(std::default_random_engine {static_cast<uint32>(environment::tick_count().ticks())}, xtd::random {}.generator());
1717
}
1818

1919
void test_method_(constructor_with_seed) {

0 commit comments

Comments
 (0)