Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LineAndColumnFromRangeTest (0.29 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LineAndColumnFromRangeTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.junit.runners.Parameterized
    
    
    @RunWith(Parameterized::class)
    class LineAndColumnFromRangeTest(val given: Given) {
    
        data class Given(val range: IntRange, val expected: Pair<Int, Int>)
    
        companion object {
    
            const val text = "line 1\nline 2\nline 3"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top