How many test cases were you expected to give? I think one problem you will have is rendering a font on different sizes.
A generic test case could be, randomly pick a font and format and then alternate between a few extremes of the font size range and check if they "look" the same. Another kind of test case would be to randomly take text from the Web and check if you editor is able to identify and render it the same way. You are essentially seeing if your editor is also good at identifying fonts. What were your test cases? Sent from my BlackBerry -----Original Message----- From: "HARISH S.C" <[email protected]> Sender: [email protected] Date: Wed, 2 Feb 2011 01:14:00 To: <[email protected]> Reply-To: [email protected] Subject: [algogeeks] Microsoft interview question We have a text editor application where we can choose 1)between 100s of different fonts like arial,calibri,etc.. 2)different text sizes 3) different formatting such as bold, Italics,regular,etc.. Imagine that the application is similar to word(there we will have these options). Now give different test cases to test this application. I came up with different solutions but interviewer is not satisfied, -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
