Skip to content
 
 

Repository files navigation

BooleanOperatorsTest

  1. What is the knowledge point of the test? Where is the official document to the knowledge point?
  2. Why the test failed at first?
    • The expected values are null or incorrect
  3. Why you corrected the test that way?
    • I initialized the expected Boolean result.
  4. Do you have further questions on this knowledge point?
    • None

CharTypeTest

  1. What is the knowledge point of the test? Where is the official document to the knowledge point?
  2. Why the test failed at first?
    • The initialize values are whitespaces
  3. Why you corrected the test that way?
    • I initialized the variables to the expected escape character
  4. Do you have further questions on this knowledge point?
    • None

FloatingTypeTest

  1. What is the knowledge point of the test? Where is the official document to the knowledge point?
  2. Why the test failed at first?
    • The initialized variables are having the MAX Integer value
    • No throw exception overflow and underflow values
  3. Why you corrected the test that way?
    • I used short for narrowing casting.
    • Math.Round() for rounding off
    • Math.addExact() for ArithmethicException
    • Throw exception error for non-real numbers.
  4. Do you have further questions on this knowledge point?
    • None

IntegerTypeTest

  1. What is the knowledge point of the test? Where is the official document to the knowledge point?
  2. Why the test failed at first?
    • The expected values are incorrect
  3. Why you corrected the test that way?
    • I initialized the expected values to Max and Min value for each data type.
    • addExact method for overflowing and underflowing values.
    • Throw NotImplementedException
  4. Do you have further questions on this knowledge point?
    • None

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages