Commit Graph

16 Commits

Author SHA1 Message Date
Alexander Udalov a94f12d8fe Use f/L literal suffixes instead of toFloat()/toLong() 2014-06-18 20:35:25 +04:00
Alexander Udalov ad23a2d05b Fix equals and hashCode for empty ranges and progressions
Empty range is equal to any other empty range
2014-06-18 20:35:25 +04:00
Alexander Udalov 751f062f23 Add *Range.isEmpty(), *Progression.isEmpty() 2014-06-18 20:22:24 +04:00
Ilya Ryzhenkov 717f03f474 Split tests into platform independent and JVM parts to run subset of tests in JS 2014-04-24 12:59:43 +04:00
Natalia Ukhorskaya 4329c42e3f Make unary minus and unary plus return int for byte and short 2013-12-23 13:46:00 +04:00
Evgeny Gerashchenko 021496c07d Prohibited NaN steps. 2013-02-13 18:08:36 +04:00
Evgeny Gerashchenko 58f37f38f4 Renamed NumberSequence to Progression. 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko dd4b508213 Adapted usage of failsWith(). 2013-01-29 22:55:10 +04:00
Evgeny Gerashchenko 2fd1430329 Tests for all kinds of ranges and sequences. 2013-01-29 22:55:09 +04:00
Evgeny Gerashchenko 6d41697af0 Added ComparableRange. 2013-01-29 22:55:07 +04:00
Evgeny Gerashchenko b2e74b1473 Adapted code to new structure of ranges. 2013-01-29 22:55:06 +04:00
Evgeny Gerashchenko 9b866b2e12 Implemented reversed() in proper way.
- converted it into function
- return sequence values
- implemented for sequences as well
2013-01-29 22:55:05 +04:00
Evgeny Gerashchenko 1bc99ef19a KT-2579 Rename Range.minus() to reversed and make it extension
#KT-2579 fixed
2012-08-09 19:14:14 +04:00
Evgeny Gerashchenko a4031225d0 Changed usages of upto/downto in test to rangeTo and downTo, respectively.
#KT-2519 in progress
2012-08-08 14:48:04 +04:00
James Strachan 713a2d3bf0 enabled more tests now that KT-2520 is fixed 2012-08-03 09:00:25 +01:00
James Strachan 559cfe29c8 added test case for KT-2520 2012-07-25 05:58:09 -04:00