@@ -181,6 +181,105 @@ public static IEnumerable<object[]> Parameters()
181181 }
182182 } ;
183183
184+ yield return new object [ ]
185+ {
186+ "id eq 10m" ,
187+ new KeyValuePair < TokenType , string > [ ]
188+ {
189+ new ( TokenType . IDENT , "id" ) ,
190+ new ( TokenType . IDENT , "eq" ) ,
191+ new ( TokenType . DECIMAL , "10m" ) ,
192+ }
193+ } ;
194+
195+ yield return new object [ ]
196+ {
197+ "id eq 10.50m" ,
198+ new KeyValuePair < TokenType , string > [ ]
199+ {
200+ new ( TokenType . IDENT , "id" ) ,
201+ new ( TokenType . IDENT , "eq" ) ,
202+ new ( TokenType . DECIMAL , "10.50m" ) ,
203+ }
204+ } ;
205+
206+ yield return new object [ ]
207+ {
208+ "id eq 10.50M" ,
209+ new KeyValuePair < TokenType , string > [ ]
210+ {
211+ new ( TokenType . IDENT , "id" ) ,
212+ new ( TokenType . IDENT , "eq" ) ,
213+ new ( TokenType . DECIMAL , "10.50M" ) ,
214+ }
215+ } ;
216+
217+ yield return new object [ ]
218+ {
219+ "id eq 10f" ,
220+ new KeyValuePair < TokenType , string > [ ]
221+ {
222+ new ( TokenType . IDENT , "id" ) ,
223+ new ( TokenType . IDENT , "eq" ) ,
224+ new ( TokenType . FLOAT , "10f" ) ,
225+ }
226+ } ;
227+
228+ yield return new object [ ]
229+ {
230+ "id ne 0.1121563052701180f" ,
231+ new KeyValuePair < TokenType , string > [ ]
232+ {
233+ new ( TokenType . IDENT , "id" ) ,
234+ new ( TokenType . IDENT , "ne" ) ,
235+ new ( TokenType . FLOAT , "0.1121563052701180f" ) ,
236+ }
237+ } ;
238+
239+ yield return new object [ ]
240+ {
241+ "id ne 0.1121563052701180F" ,
242+ new KeyValuePair < TokenType , string > [ ]
243+ {
244+ new ( TokenType . IDENT , "id" ) ,
245+ new ( TokenType . IDENT , "ne" ) ,
246+ new ( TokenType . FLOAT , "0.1121563052701180F" ) ,
247+ }
248+ } ;
249+
250+ yield return new object [ ]
251+ {
252+ "id eq 10d" ,
253+ new KeyValuePair < TokenType , string > [ ]
254+ {
255+ new ( TokenType . IDENT , "id" ) ,
256+ new ( TokenType . IDENT , "eq" ) ,
257+ new ( TokenType . DOUBLE , "10d" ) ,
258+ }
259+ } ;
260+
261+ yield return new object [ ]
262+ {
263+ "id eq 3.14159265359d" ,
264+ new KeyValuePair < TokenType , string > [ ]
265+ {
266+ new ( TokenType . IDENT , "id" ) ,
267+ new ( TokenType . IDENT , "eq" ) ,
268+ new ( TokenType . DOUBLE , "3.14159265359d" ) ,
269+ }
270+ } ;
271+
272+ yield return new object [ ]
273+ {
274+ "id eq 3.14159265359D" ,
275+ new KeyValuePair < TokenType , string > [ ]
276+ {
277+ new ( TokenType . IDENT , "id" ) ,
278+ new ( TokenType . IDENT , "eq" ) ,
279+ new ( TokenType . DOUBLE , "3.14159265359D" ) ,
280+ }
281+ } ;
282+
184283 yield return new object [ ]
185284 {
186285 "age lt 50" ,
0 commit comments