Skip to content

Instantly share code, notes, and snippets.

@botic
Created July 18, 2012 15:29
Show Gist options
  • Select an option

  • Save botic/3136936 to your computer and use it in GitHub Desktop.

Select an option

Save botic/3136936 to your computer and use it in GitHub Desktop.
RingoJS tests
PS E:\ringojs\ringojs-0.8\test\ringo\utils> ringo .\dates_test.js
================================================================================
+ Running testIsLeapYear_DaysInFebruary_DaysInYear_DaysInMonth ... PASSED (54 ms)
+ Running testAdd ... PASSED (7 ms)
+ Running testBefore_After_Compare ... PASSED (0 ms)
+ Running testFirstDayOfWeek ... PASSED (2 ms)
+ Running testQuarterInYear ... PASSED (1 ms)
+ Running testQuarterInFiscalYear ... PASSED (4 ms)
+ Running testDiff ... PASSED (6 ms)
+ Running testOverlapping ... PASSED (0 ms)
+ Running testInPeriod ... PASSED (1 ms)
+ Running testResetTime ... PASSED (1 ms)
+ Running testResetDate ... PASSED (0 ms)
+ Running testSecondsOfDay ... PASSED (0 ms)
+ Running testDayOfYear ... PASSED (2 ms)
+ Running testWeekOfMonth ... PASSED (2 ms)
+ Running testWeekOfYear ... PASSED (3 ms)
+ Running testYearInCentury ... PASSED (1 ms)
+ Running testDaysInMonth ... PASSED (3 ms)
+ Running testFromUTCDate ... PASSED (0 ms)
+ Running testCheckDate ... PASSED (1 ms)
+ Running testParse ... PASSED (25 ms)
+ Running testToISOString ... PASSED (4 ms)
--------------------------------------------------------------------------------
Executed 21 tests in 117 ms
Passed 21; Failed 0; Errors 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment