add comment to explain sar test

This commit is contained in:
2025-08-12 11:01:32 +02:00
parent 7ef32c06ea
commit 75008c6ca8

View File

@@ -2,6 +2,7 @@
#include "test.h" #include "test.h"
/* tests arithmetic shift for signed integers (rather than logical shift) */
int test_sar(void *dat) { int test_sar(void *dat) {
(void)dat; (void)dat;
return assert_true(-3 >> 5 == -1); return assert_true(-3 >> 5 == -1);