Created
May 30, 2014 20:00
-
-
Save cmcdevitt/719b71ed0cec3028469f to your computer and use it in GitHub Desktop.
A test for my ibrary of helper functions
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
| //Used for testing | |
| cmUnitTest(); | |
| function cmUnitTest(){ | |
| var cm = new CMHelper(); | |
| gs.log("This week: " + cm.getStartOfWeek()); | |
| gs.log("Last Week: " + cm.getSevenDaysAgo(cm.getStartOfWeek())); | |
| gs.log("Group;ISD Management: " + cm.getSysId('ISD Management','sys_user_group'));//Two arguments | |
| gs.log("User;P28758: " + cm.getSysId('p28758','sys_user','user_name'));//Three argumenets | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment