|
A PrimitiveFixture is primitive in that it relies on fundamentals and is free of adornment. Specifically PrimitiveFixture does not use JavaReflection either directly or through TypeAdapter. This will be important when this framework is ported to a language without reflection capabilities.
See source.
Compare a column style fixture with and without reflection.
Try http:run.cgi on both of these fixtures on the same data.
eg.ArithmeticFixture |
x | y | x + y | x - y | x * y | x / y |
200 | 300 | 500 | -100 | 60000 | 0 |
400 | 20 | 420 | 380 | 8000 | 20 |
|