Problem I made a Python function that takes an XML file as a parameter and returns a JSON. My goal […]
Tag: unit-testing
Review of java interface for constructing brain model
Problem I have built a partial human brain model and the following is an example of how I use all […]
Unit tests using C#, Moq, AutoFixture, FluentAssertions
Problem Could you give any suggestion on the following unit tests? How to make it more readable, maintainable and trustworthy. […]
TDD approach for Advent of Code challenge: infinite spiral on a grid
Problem I have started the Advent of Code 2017 to learn to use Python and Test Driven Development. I wrote […]
Basic Ticket booking code with Unit tests
Problem I am going to run a session for a few other developers who are new to Junit, mocking, etc. […]
Sudoku validator
Problem I’ve decided to learn some more Haskell writing a Sudoku validator, the function checkSudoku outputs True if the Sudoku […]
Recursive search on Node Tree with Linq and Queue
Problem I’ve created a Node class which contains two important properties: public Node Parent { get; private set; } private […]
Integer ID pool
Problem I would really appreciate some feedback on the code I wrote to solve the following problem: Design an IdManager. […]
Unit tests for the SquishIt framework
Problem For a little background, I’m a contributor to SquishIt and decided that I should start cleaning up the mess […]
Writing and reading of a custom binary protocol
Problem I’m currently trying to develop some code that will handle parsing and building of a custom binary protocol. The […]