if I have multiple streams I reduce into 1, produc...
# test
u
if I have multiple streams I reduce into 1, producing some sort of a FooStateObject which is a tuple of x values data class FooStateObject(showA: boolean, showB: boolean, showC: boolean) etc how do you test this without combinatorial explosion, when each of the propeties depends on different values? for example imagine showA is
Copy code
val showSomeOverlay = callState is Active && callMediaState is Video.Activated
a concrete example (edited) so testing when
showSomeOverlay
is true is obviously easy but should one test for the false as well? I think so, in order for it to be complete,i.e. someone might ad a new && branch etc. so true = 2 combinations, but false = many combinations, as there are many more values in those two enums...