During two hours of legal arguments in Albany , the state 's Court of Appeals weighed the constitutionality of permitting casinos on Indian tribal lands and so-called video lottery terminals at racetracks in New York .