tag:blogger.com,1999:blog-9944221.post115462476070310791..comments2023-11-03T06:15:55.087-05:00Comments on Meme Agora: Partial ClassesNeal Fordhttp://www.blogger.com/profile/12839796402858974817noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-9944221.post-1154727218625750522006-08-04T16:33:00.000-05:002006-08-04T16:33:00.000-05:00I agree that its a nice approach to have for testi...I agree that its a nice approach to have for testing encapsulated code. The problem is, you would rather be shipping the test code with your production assembly as you cannot extend your partial classes beyond assemblies. Yes you can use #IFDEBUG or [Conditional("DEBUG")], but it makes the code messy anyway, plus increases the size of your production assemblies.Anonymoushttps://www.blogger.com/profile/15173127953331470088noreply@blogger.comtag:blogger.com,1999:blog-9944221.post-1154648687345990342006-08-03T18:44:00.000-05:002006-08-03T18:44:00.000-05:00I will extract the "private method" as a functor a...I will extract the "private method" as a functor and test them one by one, then assemble them together as a big algorithm. I don't whether this is a good approach in OO, but really like it from functional perspective.taowenhttps://www.blogger.com/profile/15207556318302866600noreply@blogger.com