mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-15 03:06:38 +08:00
Fixed some grammar errors on docs
Fixed grammar errors and some sentences to make it easier to understand
This commit is contained in:
@ -80,7 +80,7 @@ marked as an optional parameter because some assertions only need a single
|
||||
"actual" parameter (e.g. null check).
|
||||
"Size/count" refers to string lengths, number of array elements, etc.
|
||||
|
||||
Many of Unity's assertions are apparent duplications in that the same data type
|
||||
Many of Unity's assertions are clear duplications in that the same data type
|
||||
is handled by several assertions. The differences among these are in how failure
|
||||
messages are presented. For instance, a `_HEX` variant of an assertion prints
|
||||
the expected and actual values of that assertion formatted as hexadecimal.
|
||||
@ -703,7 +703,7 @@ point value.
|
||||
|
||||
So what happens when it's zero? Zero - even more than other floating point
|
||||
values - can be represented many different ways. It doesn't matter if you have
|
||||
0 x 20or 0 x 263.It's still zero, right? Luckily, if you
|
||||
0 x 20 or 0 x 263.It's still zero, right? Luckily, if you
|
||||
subtract these values from each other, they will always produce a difference of
|
||||
zero, which will still fall between 0 plus or minus a delta of 0. So it still
|
||||
works!
|
||||
|
Reference in New Issue
Block a user