Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: testing/resources/javascript/bug_361_expected.txt

Issue 1588733003: test cast for bug_361 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add more tests and expected results file. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/resources/javascript/bug_361.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/javascript/bug_361_expected.txt
diff --git a/testing/resources/javascript/bug_361_expected.txt b/testing/resources/javascript/bug_361_expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7fd795477bea1f33559d7d6963e6a4dd01478e7
--- /dev/null
+++ b/testing/resources/javascript/bug_361_expected.txt
@@ -0,0 +1,31 @@
+Alert: Answer for "goats" is: string goats
+Alert: Answer for "b4" is: string b4
+Alert: Answer for "b4.5" is: string b4.5
+Alert: Answer for "4x" is: string 4x
+Alert: Answer for "4.5x" is: string 4.5x
+Alert: Answer for "4" is: number 4
+Alert: Answer for " 4" is: number 4
+Alert: Answer for "4 " is: number 4
+Alert: Answer for " 4 " is: number 4
+Alert: Answer for "4 3 2 1" is: string 4 3 2 1
+Alert: Answer for "-4" is: number -4
+Alert: Answer for "23.00000001" is: number 23.00000001
+Alert: Answer for "23.00000000000000001" is: number 0
+Alert: Answer for "25,5" is: number 25.5
+Alert: Answer for "1e+5" is: number 100000
+Alert: Answer for "1e5" is: number 1
+Alert: Answer for "1e-5" is: number 0.00001
+Alert: Answer for "-1e-5" is: number -0.00001
+Alert: Answer for "1.2e5" is: number 1.2
+Alert: Answer for "NAN" is: string NAN
+Alert: Answer for "INF" is: string INF
+Alert: Answer for "0x100" is: string 0x100
+Alert: Answer for "123x6" is: string 123x6
+Alert: Answer for "123xy6" is: string 123xy6
+Alert: Answer for "123.y6" is: string 123.y6
+Alert: Answer for "1,000,000" is: number 1
+Alert: Answer for "1.2.3" is: number 1.2
+Alert: Answer for "1-3" is: string 1-3
+Alert: Answer for "1+3" is: string 1+3
+Alert: Answer for "1.-3" is: string 1.-3
+Alert: Answer for "1.+3" is: string 1.+3
« no previous file with comments | « testing/resources/javascript/bug_361.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698