blob: 20ddcb78743a091d4dc129a7173e8751612ad0be (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <assert.h>
#include "logic.h"
int main(void) {
assert(LOGIC_LOW == logic_nor(LOGIC_HIGH, LOGIC_HIGH));
assert(LOGIC_LOW == logic_nor(LOGIC_HIGH, LOGIC_LOW ));
assert(LOGIC_LOW == logic_nor(LOGIC_LOW , LOGIC_HIGH));
assert(LOGIC_HIGH == logic_nor(LOGIC_LOW , LOGIC_LOW ));
}
|