Too Long; Didn't Read
Testing in C#: Property-Based Testing With Input Generators. Miguel Bernard is passionate about teaching, developers' communities and everything related to.Net. The following post will try to define properties for the first and last lines of our diamond diamond test. The first property-based test reads like this:Call the DiamondGenerate() method with the provided input char c. Use the ToProperty() method to wrap it into a property object. The next property test will be written using a generator that will do just that.