9 Commits

Author SHA1 Message Date
f21df51bd2 Added the PATH searching algorithm we talked about at the last meeting with Ciaraldi. It will find the location of our program
and search the PATH for that location. If found, it will search all remaining elements for the requested program. If the location
is not found on the PATH, then it will search the entire PATH for the requested program. If found, it returns the absolute path
to the program. If not, err.
2014-09-24 23:32:11 -04:00
72c638432f Added a test for the empty unit, moved bad unit test into a separate test function 2014-09-18 13:03:44 -04:00
a144a70a61 Added tests for free 2014-09-18 12:58:25 -04:00
0904b13546 Moved units to be with themselves in common, updated convertUnit and parseLine to be public for testing 2014-09-18 12:48:24 -04:00
Ian Adam Naval
dc064e8ea7 Make free standards compliant 2014-09-16 22:00:50 -04:00
Ian Adam Naval
d621f8d765 Add blank case for convertUnit
Assumes that it's in bytes. On my system (Arch Linux), values of 0 have
no unit printed next to them.
2014-09-16 21:55:37 -04:00
Ian Adam Naval
fb8165fa80 Make ps follow new standard 2014-09-16 21:43:43 -04:00
Ian Adam Naval
1d57896123 gofmt 2014-09-16 20:52:57 -04:00
97db57bb1f Added free implementation 2014-09-08 01:12:05 +00:00