lundi 13 mars 2017

Boolean testing framework

a few months ago I saw some test code using boolean constructs, like this:

self.and(self.eq(a, 1), self.eq(b, 2))

meaning that both conditions inside should be met.

Similarly other boolean operations would be supported and they could be arbitrarily nested.

But I couldn't find it since. I'm not even sure if it was Python after all, but wanted to study the paradigm.

Can anyone provide a feedback?

Regards, Robert

Aucun commentaire:

Enregistrer un commentaire