Overview
Comment: | s_expressions-templates-tests-integers: add tests for image ranges |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
dc623ed4d68bed74f6bf6dc60217012a |
User & Date: | nat on 2014-10-02 21:26:07 |
Other Links: | manifest | tags |
Context
2014-10-03
| ||
21:04 | s_expressions-templates-dates: new package for date template rendering check-in: f65011d51a user: nat tags: trunk | |
2014-10-02
| ||
21:26 | s_expressions-templates-tests-integers: add tests for image ranges check-in: dc623ed4d6 user: nat tags: trunk | |
2014-10-01
| ||
17:51 | s_expressions-templates-generic_integers: new command for input of several images, leveraging affix syntax check-in: 076d8be66e user: nat tags: trunk | |
Changes
Modified tests/natools-s_expressions-templates-tests-integers.adb from [0104e258a9] to [e09eed3d40].
︙ | ︙ | |||
157 158 159 160 161 162 163 164 165 166 167 168 169 170 | Test_Render (Test, "(image (-2 two) (666 evil))", 666, "evil"); Test_Render (Test, "(image (-2 two) (666 evil) (-2))", -2, "-2"); Test_Render (Test, "(image (1 one))3:Two4:four", 1, "one"); Test_Render (Test, "(image (1 one))3:Two4:four", 2, "Two"); Test_Render (Test, "(image (1 one))3:Two4:four", 3, "four"); Test_Render (Test, "(image (1 one))3:Two4:four", 4, "4"); Test_Render (Test, "(image (invalid -))5:first", Integer'First, "first"); exception when Error : others => Test.Report_Exception (Error); end Explicit_Images; procedure Explicit_Sign (Report : in out NT.Reporter'Class) is Test : NT.Test := Report.Item ("Explicit sign specification"); | > > > > > | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | Test_Render (Test, "(image (-2 two) (666 evil))", 666, "evil"); Test_Render (Test, "(image (-2 two) (666 evil) (-2))", -2, "-2"); Test_Render (Test, "(image (1 one))3:Two4:four", 1, "one"); Test_Render (Test, "(image (1 one))3:Two4:four", 2, "Two"); Test_Render (Test, "(image (1 one))3:Two4:four", 3, "four"); Test_Render (Test, "(image (1 one))3:Two4:four", 4, "4"); Test_Render (Test, "(image (invalid -))5:first", Integer'First, "first"); Test_Render (Test, "(image-range (""?"" (10 19)))", 9, "9"); Test_Render (Test, "(image-range (""?"" (10 19)))", 10, "?"); Test_Render (Test, "(image-range (""?"" (10 19)))", 15, "?"); Test_Render (Test, "(image-range (""?"" (10 19)))", 19, "?"); Test_Render (Test, "(image-range (""?"" (10 19)))", 20, "20"); exception when Error : others => Test.Report_Exception (Error); end Explicit_Images; procedure Explicit_Sign (Report : in out NT.Reporter'Class) is Test : NT.Test := Report.Item ("Explicit sign specification"); |
︙ | ︙ |