aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/lib')
-rw-r--r--test/mppa/lib/prng.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/mppa/lib/prng.c b/test/mppa/lib/prng.c
index 59ec7ca6..af3903d6 100644
--- a/test/mppa/lib/prng.c
+++ b/test/mppa/lib/prng.c
@@ -29,14 +29,11 @@ char bytewise_sum(uint64_t to_check){
int main(void){
srand(42);
- if (bytewise_sum(0xdeadbeefb00b1355ULL) != 91)
- return 1;
-
for (int i = 0 ; i < 1000 ; i++)
randlong();
uint64_t last = randlong();
- return !((unsigned char)bytewise_sum(last) == 251);
+ return !((unsigned char)bytewise_sum(last) == 155);
}
#endif // __UNIT_TEST_PRNG__