Skip to content

Commit 5edda03

Browse files
authored
Cleanup definition of UNITY_COMPARISON_T in unity_internals.h
remove unused values UNITY_WITHIN and UNITY_UNKNOWN update value UNITY_NOT_EQUAL
1 parent 48fbee9 commit 5edda03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/unity_internals.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,14 +487,12 @@ typedef enum
487487

488488
typedef enum
489489
{
490-
UNITY_WITHIN = 0x0,
491490
UNITY_EQUAL_TO = 0x1,
492491
UNITY_GREATER_THAN = 0x2,
493492
UNITY_GREATER_OR_EQUAL = 0x2 + UNITY_EQUAL_TO,
494493
UNITY_SMALLER_THAN = 0x4,
495494
UNITY_SMALLER_OR_EQUAL = 0x4 + UNITY_EQUAL_TO,
496-
UNITY_NOT_EQUAL = 0x0,
497-
UNITY_UNKNOWN
495+
UNITY_NOT_EQUAL = 0x6
498496
} UNITY_COMPARISON_T;
499497

500498
#ifndef UNITY_EXCLUDE_FLOAT

0 commit comments

Comments
 (0)