1. 30 10月, 2019 1 次提交
  2. 29 10月, 2019 2 次提交
  3. 25 10月, 2019 1 次提交
  4. 06 7月, 2019 1 次提交
  5. 12 5月, 2019 1 次提交
  6. 21 4月, 2019 1 次提交
  7. 15 4月, 2019 1 次提交
  8. 13 4月, 2019 1 次提交
  9. 01 2月, 2019 1 次提交
    • E
      Improvements to the execution time feature · 076f0fff
      elliot 提交于
      - Running time macros have been made more portable, previously it was not
        possible to override all macros
      - Running time macros will be executed by default test runner, and auto test
        runners
      - Adds a default execution time implementation for unix. (Previous default
        implementation only worked on Windows)
      - For embedded platforms there is a simple method of getting a default
        implementation by defining a single macro UNITY_CLOCK_MS()
      - Removed need for UNITY_EXEC_TIME_RESET. This was not being used for the default
        implementations, if anything ever did need reset-like functionality it could
        simply be wrapped up with the start or stop macros for that platform
      076f0fff
  10. 19 2月, 2018 3 次提交
  11. 18 2月, 2018 3 次提交
  12. 08 11月, 2017 4 次提交
  13. 10 9月, 2017 1 次提交
  14. 26 8月, 2017 2 次提交
    • J
      Fix test link error. · dbdd168e
      John Lindgren 提交于
      dbdd168e
    • J
      Rewrite UnityPrintFloat to match printf("%.6g"). · 0e7eb545
      John Lindgren 提交于
      The existing implementation was not very good:
       - It printed all very small values as "0.000000..."
       - It did not distinguish positive and negative zero
       - In some cases it printed extra garbage digits for single-precision values
         (e.g. 3.9e+30 was printed as 3.90000013+30)
      
      Tests have been updated to check that we now match printf("%.6g") for
      1,000,000 randomly chosen values, except for rounding of the 6th digit.
      0e7eb545
  15. 14 5月, 2017 1 次提交
  16. 22 3月, 2017 5 次提交
  17. 24 1月, 2017 1 次提交
  18. 15 1月, 2017 1 次提交
    • J
      Option to exclude setjump/longjmp, setjmp.h · ef1e2ad5
      jsalling 提交于
      Using this option changes the control flow of Unity, but is useful on
      constrained embedded systems. You can't fully simulate the power of
      'longjmp' with just 'return', but Unity still works well, all tests pass.
      ef1e2ad5
  19. 30 12月, 2016 2 次提交
  20. 25 12月, 2016 1 次提交
  21. 24 12月, 2016 1 次提交
  22. 29 11月, 2016 1 次提交
  23. 20 11月, 2016 4 次提交
    • J
      Tests for Printing All float values · aa4d773d
      jsalling 提交于
      Takes about 10 minutes to run all floats, so split into 3 tests for parallel
      running later. This was useful during development for finding hard corner cases
      and getting the routine to high quality. Off by default.
      Note that all floats 16.0 and up can be represented uniquely (in this format) and will
      round-trip back to the exact same float with sscanf(). This property is true for
      UnityPrintFloat, despite a few rounding error cases, it will produce output identity.
      
      Better comments and refactor on round ties to even
      Add upper threshold value on round to even feature since numerical precision issues
      start to give approximations when dividing one large double by another. When tested
      on float values, using 1e22 gave the fewest rounding errors.
      
      Fix warnings from gcc. Some float constants do not behave well in existing tests.
      Add casts where conversions could be imprecise.
      aa4d773d
    • J
      Refactor repeated code to print float expected and actual · 25f64173
      jsalling 提交于
      Move double tests down in the file
      25f64173
    • J
      Tests for Printing Floating Point numbers · 9f4b1a33
      jsalling 提交于
      9f4b1a33
    • J
      Make UnityPrintFloat on by default · 47f6a85b
      jsalling 提交于
      Remove UNITY_FLOAT_VERBOSE entirely, add option UNITY_EXCLUDE_FLOAT_PRINT
      Remove some questionable float casts from doubles
      Default to Round Ties to Even behavior, add option to Round Ties Away from Zero
      47f6a85b