almondtools / testrecorder

Create Test Fixtures from Runnable Java Code
http://testrecorder.amygdalum.net/
GNU Lesser General Public License v3.0
51 stars 5 forks source link

Value types need not to be checked on state change #35

Closed almondtools closed 7 years ago

almondtools commented 7 years ago

Currently calling a method with a value argument will produce a trivial assert statement. e.g.

game3.roll(4);

will produce

assertThat(4, equalTo(4));

asserts should only be generated for reference types.