cawatson commented on issue #61: RNG-85: Middle Square Weyl Sequence generator
URL: https://github.com/apache/commons-rng/pull/61#issuecomment-523452230
 
 
   I am working on a tool to help partially automate unit testing for 
developers. I'm hoping you could speak to the validity of the generated assert 
statements for their corresponding test methods. These all come from the file: 
commons-rng/commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MiddleSquareWeylSequenceTest.java
   
   Test method: _testReferenceCode_ 
   Assert Statement(s): `org.junit.Assert.assertArrayEquals(new` int [ ] { 0 , 
0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }, seed);`
   
   Test method: _testSelfSeeding_
   Assert Statement(s): `org.junit.Assert.assertTrue(((rng.nextInt(` group )) > 
0));` , `org.junit.Assert.assertTrue(((rng.nextInt( position )) > 0));`, 
`org.junit.Assert.assertTrue(((rng.nextInt(` group )) == 0));`
   
   Thank you for your time.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to