Tag

powerset

Browsing

The first time I thought at this problem was when I worked on testing a component on a work-related project. Back then, I’ve realised that for properly testing the component, I should generate what seemed to be \(2^n\) distinct cases (n being the number of element types). \(2^n\)…odd coincidence or what? After some thought I realised this was a general answer, as these are the number of subset types that you can generate from a…