Last change
on this file since 14138 was 10300, checked in by Don-vip, 8 years ago |
sonar - Performance - Method passes constant String of length 1 to character overridden method + add unit tests/javadoc
|
-
Property svn:eol-style
set to
native
|
File size:
476 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data;
|
---|
3 |
|
---|
4 | import static org.junit.Assert.assertEquals;
|
---|
5 |
|
---|
6 | import org.junit.Test;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * Unit tests for class {@link ProjectionBounds}.
|
---|
10 | */
|
---|
11 | public class ProjectionBoundsTest {
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Unit test of {@link ProjectionBounds#toString}
|
---|
15 | */
|
---|
16 | @Test
|
---|
17 | public void testToString() {
|
---|
18 | assertEquals("ProjectionBounds[1.0,2.0,3.0,4.0]", new ProjectionBounds(1, 2, 3, 4).toString());
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.