Package booton.translator.primitive

Source Code of booton.translator.primitive.WideningPrimitiveConversionTest

/*
* Copyright (C) 2014 Nameless Production Committee
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*          http://opensource.org/licenses/mit-license.php
*/
package booton.translator.primitive;

import org.junit.Test;

import booton.soeur.ScriptTester;
import booton.soeur.Scriptable;

/**
* @version 2014/03/27 10:52:07
*/
@SuppressWarnings("unused")
public class WideningPrimitiveConversionTest extends ScriptTester {

    @Test
    public void longToDouble() throws Exception {
        test(new Scriptable() {

            double act(long value) {
                return value / 2;
            }
        });
    }
}
TOP

Related Classes of booton.translator.primitive.WideningPrimitiveConversionTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.