Skip to content

Commit

Permalink
add tests for multiplying nan and infinite to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Mar 13, 2021
1 parent 17451f6 commit 269e11d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1896,12 +1896,13 @@
- name: multiply strings
args:
- '[-1.0, -0.5, 0.0, 0.5, 1.0, 1.5, 3.7, 10, 9444732965739290427392 / 4722366482869645213696, 1000000000, infinite][] * "abc"'
- '[nan, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5, 3.7, 10, 9444732965739290427392 / 4722366482869645213696, 1000000000, infinite, -infinite][] * "abc"'
input: 'null'
expected: |
null
null
null
null
"abc"
"abc"
"abc"
Expand All @@ -1910,6 +1911,7 @@
"abcabc"
null
null
null
- name: multiply empty string
args:
Expand Down

0 comments on commit 269e11d

Please sign in to comment.