Skip to content

Commit

Permalink
revised cast_test
Browse files Browse the repository at this point in the history
  • Loading branch information
mei1127 committed Dec 19, 2023
1 parent 648dbc3 commit a4d9972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cast_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a4d9972

Please sign in to comment.