It is actually very easy to check. Write a test :)
So, you want to test if your method correctly converts the input RGB string into a 3 element integer array.
The sequence you gave should be split into the following three elements
R = e0, which is 0xe0
G = 3c, which is 0x3c
B = ec, which is 0xec
So to test, I would sucggest you use a unit testing framework like
junit, but below is a quick and dirty test snippet, to explain the principle.
int[] result = TestInt("#e03cec");
if (result[0] != 0xe0) throw new RuntimeException("Error");
if (result[1] != 0x3c) throw new RuntimeException("Error");
if (result[2] != 0xec) throw new RuntimeException("Error");
if (result[0] != 224) throw new RuntimeException("Error");
if (result[1] != 60) throw new RuntimeException("Error");
if (result[2] != 236) throw new RuntimeException("Error");
System.out.println("OK");