euler with test