Skip to content

Commit aaa56bb

Browse files
romainbrenguierJoel Allred
authored and
Joel Allred
committed
Adding tests for issue diffblue/test-gen#119
1 parent 03667af commit aaa56bb

File tree

6 files changed

+33
-0
lines changed

6 files changed

+33
-0
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
public class StringValueOfLong
2+
{
3+
public static void main()
4+
{
5+
long longValue = 10000000000L; // L suffix indicates long
6+
String tmp=String.valueOf(longValue);
7+
assert tmp.equals("10000000000");
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FUTURE
2+
StringValueOfLong.class
3+
--refine-strings
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
public class StringValueOfBool
2+
{
3+
public static void main()
4+
{
5+
boolean booleanValue = false;
6+
7+
String tmp=String.valueOf(booleanValue);
8+
assert tmp.equals("false");
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FUTURE
2+
StringValueOfBool.class
3+
--refine-strings
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--

0 commit comments

Comments
 (0)