Fixing some tests from internal test suite.

This commit is contained in:
Ruben Ayrapetyan 2014-10-20 17:20:33 +04:00
parent 512d816568
commit 1796138a27
2 changed files with 4 additions and 3 deletions

View File

@ -13,5 +13,6 @@
// limitations under the License.
var a = 1.12;
var eps = 0.00000001;
assert(++a === 2.12)
assert(++a >= 2.12 - eps && a <= 2.12 + eps);

View File

@ -12,6 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
var x = 1e-323
var x = 0.1e-323
var y = false
assert(x == y)
assert(x == y)