From 2685d4c5a578f144931d8d17cd34785583acc58c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Nov 2010 13:31:01 -0500 Subject: [PATCH] Added unit test for half-float suffix. --- unit_tests/preprocessor/output/float-half-suffix | 4 ++++ unit_tests/preprocessor/output/float-half-suffix.correct | 1 + 2 files changed, 5 insertions(+) create mode 100644 unit_tests/preprocessor/output/float-half-suffix create mode 100644 unit_tests/preprocessor/output/float-half-suffix.correct diff --git a/unit_tests/preprocessor/output/float-half-suffix b/unit_tests/preprocessor/output/float-half-suffix new file mode 100644 index 00000000..ffaba4c9 --- /dev/null +++ b/unit_tests/preprocessor/output/float-half-suffix @@ -0,0 +1,4 @@ +// This should produce "10.05h" and not "10.05 h" +10.05h +// This should produce "10.05e10h" and not "10.05e10 h" +10.05e10h diff --git a/unit_tests/preprocessor/output/float-half-suffix.correct b/unit_tests/preprocessor/output/float-half-suffix.correct new file mode 100644 index 00000000..cac94574 --- /dev/null +++ b/unit_tests/preprocessor/output/float-half-suffix.correct @@ -0,0 +1 @@ +10.05h 10.05e10h