This gist is a fork of the gist from this blog post.
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Source: http://blog.8thlight.com/uncle-bob/2013/09/23/Test-first.html
- tests are specs for the system and are more important than the system itself
- (Tests should be) short, well factored, and well named. They ought to read like specifications; because they are specifications
- (Goal:) trust your test suite to the extent that, if it passes, you know you
I hereby claim:
- I am rvong on github.
- I am richvong (https://keybase.io/richvong) on keybase.
- I have a public key whose fingerprint is 9387 C3D7 8EC4 CEBB 4C53 D2DD E4FB 4794 6AFC 673C
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| #include <iostream> | |
| using namespace std; | |
| double PCFreq = 0.0; | |
| __int64 CounterStart = 0; | |
| void StartCounter() | |
| { | |
| LARGE_INTEGER li; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| const int MAX = 100; | |
| void bubSort(int a[], int size) | |
| { | |
| bool run = true; | |
| while (run) { | |
| run = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| asdf |

