Skip to content

Commit 03184be

Browse files
author
kennyledet
committed
Merge pull request kennyledet#48 from PatrickYevsukov/master
Amend README.md To Reflect New Submission Convention
2 parents d4a9f37 + 3793ca1 commit 03184be

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Conventions
2020
Algorithm_Name/Language_Name/username/filename.extension
2121
Algorithm_Name/Language_Name/username/filename_test.extension
2222

23-
+ It is preferred that you prepend or append your files with your Github username or some identifier to avoid overwriting others' implementations. `git blame` is cool, and has many more appropriate applications, but in this context I'd rather pull a flat list of files and be able to check out everyone's contributions that way than have to look through the revisions.
23+
+ Please package your code in a directory bearing your GitHub username. `git blame` is cool, and has many more appropriate applications, but in this context I'd rather pull a flat list of files and be able to check out everyone's contributions that way than have to look through the revisions.
2424

2525
+ Each algorithm should have its corresppnding unit test cases (as directory structure suggested above) which covers the corner cases, happy/unhappy paths.
2626
Advantage of doing so is to assert that every thing is covered and algorithm is not broken between code change.

Stat_Mode/C/PatrickYevsukov/stat_mode_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
int
1111
main(int argc, char **argv)
1212
{
13-
TestSampleMode();
13+
TestStatMode();
1414

1515
return EXIT_SUCCESS;
1616
}
1717

1818
void
19-
TestSampleMode()
19+
TestStatMode()
2020
{
2121
int ii = 0;
2222

Stat_Mode/C/PatrickYevsukov/stat_mode_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#define ELEVEN 11
1212

1313
void
14-
TestSampleMode(void);
14+
TestStatMode(void);

0 commit comments

Comments
 (0)