From 36c1d5c334aa9eeb39ba939f32e5fb24852c9417 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 0000000..ffaba4c --- /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 0000000..cac9457 --- /dev/null +++ b/unit_tests/preprocessor/output/float-half-suffix.correct @@ -0,0 +1 @@ +10.05h 10.05e10h