mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
the comment was using single-line comments, I prefer multi-line comments now. This bothered me for much too long.
12 lines
276 B
C
12 lines
276 B
C
/* Copyright (c) 2025 Quinn
|
|
* Licensed under the MIT Licence. See LICENSE for details */
|
|
#pragma once
|
|
|
|
#include "test.h"
|
|
|
|
/* tests arithmetic shift for signed integers (rather than logical shift) */
|
|
int test_sar(void *dat) {
|
|
(void)dat;
|
|
return assert_true(-3 >> 5 == -1);
|
|
}
|