Beta

There can be only one: Numeric Extension

Description
Loading description...
Refactoring
View
AllIssues1QuestionsSuggestionsShow Resolved
  • Please sign in or sign up to leave a comment.
  • 霧雨烨 Avatar

    i think that's bad:

    Expected: <System.Exception> But was: <System.InvalidCastException: Invalid cast from 'DateTime' to 'Double'.

    why should i catch a specific exception just for throw an new System.Exception?

  • Voile Avatar
    error CS1502: The best overloaded method match for `NUnit.Framework.Assert.AreEqual(object, object, string, params object[])' has some invalid arguments
    error CS1503: Argument `#3' cannot convert `double' expression to type `string'
    
  • smile67 Avatar

    Hi, i think there's a problem with your "precision of 0.005" (submit tests):

    ✘    Expected: 47661383942.191584m
      But was:  47661383942.1916m
     Completed in 0.23932ms
      RejectingNonNumericsTest
    ✔  Test Passed
     Completed in 0.00162ms
      Rules test
    Rules test in progress....
    namespace: Numerics
    Found class/struct named: NumberExtension
    ✔  Test Passed
     Completed in 0.01087ms
      SimpleFeetToCentimetersTests
    ✔  1 assertion passed
    ✘    Expected: 981.456m
      But was:  981.456023254394m
     Completed in 0.002269ms