it's illegal to steal my message and wrap it in a burrito shell and claim it as your ownQuote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
Printable View
it's illegal to steal my message and wrap it in a burrito shell and claim it as your ownQuote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
Why did you stop at 1000?Quote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
I can invite you to the repo so you can cover each test 1->2^31-1 for me :)Quote:
Originally Posted by Tyluur [Only registered and activated users can see links. Click Here To Register...]
My discord is in my postbit thingQuote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
You could most likely parametrize the tests so you dont have 10 different test cases instead a single test case with multiple params. Other than that seems cool :)
[Only registered and activated users can see links. Click Here To Register...]
Edit:
Why are you testing constants lol? Unit tests are meant to test a single unit of your OWN functionality not if kotlin adheres to keeping a constant a constant :\:
Code:@[Only registered and activated users can see links. Click Here To Register...]
fun testConstants() {
assertEquals(1_0_1_3_9_0_4_2_2_3, RandomPermutation.c)
assertEquals(1_6_6_4_5_2_5, RandomPermutation.a)
}
Doesn't work. Add me Gluon#3992Quote:
Originally Posted by Tyluur [Only registered and activated users can see links. Click Here To Register...]
Adding. Prob cuz we’re on vb4 and not xenforo.Quote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
Because I accidentally replaced them once when doing a server wide Ctrl + Shift + R to replace some hardcoded packet id and couldn't figure out why my pid wasn't shuffling properly lmfao. Those values need to be those exact values so doesn't hurt to test them to ensure they haven't changed.Quote:
Originally Posted by JayArrowz [Only registered and activated users can see links. Click Here To Register...]
This is the same energy that started project insanity.Quote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]
Fair I guess its a benefit then, for example, if someone's CI stops a person from committing a PR due to the testConstants unit test failing then atleast the dev knows that they changed a value they shouldn't have.Quote:
Originally Posted by Gluon [Only registered and activated users can see links. Click Here To Register...]