aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/random/Tr.java
blob: 7b2a26dff558893c35504eb6d3c052633de116d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
import java.util.*;

class Tr
{
    public static void main(String[] args) {
        Random rng = new Random(1);
        for (int i=0; i<10; i++) {
            double d = rng.nextDouble();
            System.out.println("double["+i+"] = "+d);
        }
    }
}