/
TestUtils.java
36 lines (31 loc) · 1.04 KB
/
TestUtils.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
* Copyright (c) 2011, 2015 itemis AG and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Alexander Nyßen (itemis AG) - initial API and implementation
* Matthias Wienand (itemis AG) - contribution for Bugzilla #355997
*
*******************************************************************************/
package org.eclipse.gef4.geometry.tests;
import org.eclipse.gef4.geometry.internal.utils.PrecisionUtils;
/**
* Utilities for geometry unit tests.
*
* @author anyssen
* @author mwienand
*
*/
public class TestUtils {
public static double getPrecisionFraction() {
// TODO: remove TestUtils
return PrecisionUtils.calculateFraction(0);
}
private TestUtils() {
// this class should not be instantiated by clients
}
}