what about Test.assertEquals(almostIncreasingSequence([1, 2, 3, 4, 3, 6]), true) ? it will fail testing!
Test.assertEquals(almostIncreasingSequence([1, 2, 3, 4, 3, 6]), true)
You are right! it is doubled code! Thanks for reviewing :)
nice chaining together! it is much clear!
Loading collection data...
what about
Test.assertEquals(almostIncreasingSequence([1, 2, 3, 4, 3, 6]), true)
? it will fail testing!You are right! it is doubled code! Thanks for reviewing :)
nice chaining together! it is much clear!