mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:25:44 +01:00
add comment to explain sar test
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user