Arduino Mega 2560 INPUT

Hello !
I am starting to test an arduino mega 2560, but for the input of analog and digital, using classical input command for variables :

int test = analogRead(Pin);

and other

int test = digitalRead(Pin);

So, for the analog read, i use the analog pins...
and the digital pins for digital read, so i don't know why the inputs are not like i give values, is it my fault ?
my commands are not good ?

Then, I used the serial commands to see the values on my computer.

PS: My english isn't very good, I'm french...

The forum has a francophone section under "International"

An analog read - returns a scalar value (Arduino in the range 0::1023)
A digital read - returns zero or non-zero... TRUE or FALSE.

digitalRead() returns HIGH or LOW, not TRUE or FALSE.

My bad. I should be whipped.