From a4d997288f58c93fdac8f4ed33f601d2e09f2742 Mon Sep 17 00:00:00 2001 From: mei1127 Date: Tue, 19 Dec 2023 11:40:11 +0800 Subject: [PATCH] revised cast_test --- test/cast_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cast_test.js b/test/cast_test.js index b6046ee..efa8b93 100644 --- a/test/cast_test.js +++ b/test/cast_test.js @@ -160,14 +160,14 @@ describe('test cast', function() { const input = { shape: [5], data: [ - 0, 0.1, 0.2, -3, 993, + 0, 0.1, 0.2, -300, 993, ], type: 'float32', }; const expected = { shape: [5], data: [ - 0, 0.10000000149011612, 0.20000000298023224, -3, 993, + 0, 0.10000000149011612, 0.20000000298023224, -300, 993, ], }; testCast(input, 'float64', expected);