equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
135 iia.doit(1234); |
135 iia.doit(1234); |
136 assertResult("i:1234"); |
136 assertResult("i:1234"); |
137 |
137 |
138 LT1IA da = LambdaTranslationTest1::deye; |
138 LT1IA da = LambdaTranslationTest1::deye; |
139 da.doit(1234); |
139 da.doit(1234); |
140 assertResult("d:1234.000000"); |
140 assertResult(String.format("d:%f", 1234.0)); |
141 |
141 |
142 LT1SA a = LambdaTranslationTest1::count; |
142 LT1SA a = LambdaTranslationTest1::count; |
143 assertEquals((Integer) 5, a.doit("howdy")); |
143 assertEquals((Integer) 5, a.doit("howdy")); |
144 |
144 |
145 a = LambdaTranslationTest1::icount; |
145 a = LambdaTranslationTest1::icount; |