jdk/test/sun/java2d/marlin/CeilAndFloorTests.java
changeset 35665 e90002447fd5
parent 34417 57a3863abbb4
equal deleted inserted replaced
35664:8e7f970a8d9d 35665:e90002447fd5
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25 
    25 
    26 /*
    26 /*
    27  * @test
    27  * @test
    28  * @summary Check for correct implementation of FloatMath.ceil/floor
    28  * @summary Check for correct implementation of FloatMath.ceil/floor
    29  * @run main CeilAndFloorTests
    29  * @run main CeilAndFloorTests
       
    30  * @modules java.desktop/sun.java2d.marlin
    30  */
    31  */
    31 public class CeilAndFloorTests {
    32 public class CeilAndFloorTests {
    32 
    33 
    33     public static String toHexString(float f) {
    34     public static String toHexString(float f) {
    34         if (!Float.isNaN(f))
    35         if (!Float.isNaN(f))