According to me the below factors need to considered to calculate the time estimation for writing the test cases based on the requirement / use case document
1,How much we are clear with the project purpose.
2.How much we are clear with SRS document and usecases.
3.How much we are clear with Environment/setup for the project.
4.Technologies depending on the project.
5.Much we are familiar with the above ones.