CLEVER V2
- Create a branch for your development and pull request to merge with master. Merge your pull request once one other developer has approved it.
- Examples live in the
instances
folder and are divided into equal (eq
) and not equal (neq
) sub-folders. - Example are themselves folders living inside of
eq
andneq
. - Name examples with lower case letters and underscores for spacing. Version numbers at the end do not need to be separated by an underscore.
- Each example should contain four files:
old.c
,new.c
,merged.c
, andREADME.md
. These files contain two versions of the test instance, one inold.c
and one innew.c
; a manually merged product program of the two versions, inmerged.c
; and a description of the instance, inREADME.md
.
- Manually merge 10 programs each
- How to handle recursion?
- Document any decisions you make here!
- Name the return of the old and new versions as
ret1
andret2
respectively. - Inline into a single function called
main
- When duplicating variables add the suffix
1
and2
for old and new version respectively - Insert assertions as comments