diff options
| author | Koakuma <koachan@protonmail.com> | 2024-07-08 19:19:54 +0700 |
|---|---|---|
| committer | Koakuma <koachan@protonmail.com> | 2024-07-08 19:19:54 +0700 |
| commit | 5c4fdc2fd5898ebd9e89999a4f4b8aa289ca637f (patch) | |
| tree | f3b92a07f3dfc6e70f36d1000605f36a3c15af46 /libc/test/src/stdlib/rand_test.cpp | |
| parent | dbda8e2f2cd8764e0badd983915d62a2c3377f4d (diff) | |
| parent | e9b8cd0c806db00f0981fb36717077c941426302 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/koachan/spr/main.sparcias-enable-parseforallfeatures-in-matchoperandparserimpl
Created using spr 1.3.5
[skip ci]
Diffstat (limited to 'libc/test/src/stdlib/rand_test.cpp')
| -rw-r--r-- | libc/test/src/stdlib/rand_test.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/test/src/stdlib/rand_test.cpp b/libc/test/src/stdlib/rand_test.cpp index 7934dc16aa46..6f25708e5390 100644 --- a/libc/test/src/stdlib/rand_test.cpp +++ b/libc/test/src/stdlib/rand_test.cpp @@ -23,15 +23,12 @@ TEST(LlvmLibcRandTest, UnsetSeed) { vals[i] = val; } - // FIXME: The GPU implementation cannot initialize the seed correctly. -#ifndef LIBC_TARGET_ARCH_IS_GPU // The C standard specifies that if 'srand' is never called it should behave // as if 'srand' was called with a value of 1. If we seed the value with 1 we // should get the same sequence as the unseeded version. LIBC_NAMESPACE::srand(1); for (size_t i = 0; i < 1000; ++i) ASSERT_EQ(LIBC_NAMESPACE::rand(), vals[i]); -#endif } TEST(LlvmLibcRandTest, SetSeed) { |
