File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
jme3-core/src/test/java/com/jme3/math Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,9 @@ public void testIntColor() {
2222
2323 ColorRGBA copy = new ColorRGBA ();
2424
25- validateColor (color , copy .fromIntRGBA (rgba ));
26- validateColor (color , copy .fromIntABGR (abgr ));
27- validateColor (color , copy .fromIntARGB (argb ));
25+ Assert . assertEquals (color , copy .fromIntRGBA (rgba ));
26+ Assert . assertEquals (color , copy .fromIntABGR (abgr ));
27+ Assert . assertEquals (color , copy .fromIntARGB (argb ));
2828 }
2929
30- private void validateColor (ColorRGBA original , ColorRGBA copy ) {
31- Assert .assertEquals (original .r , copy .r , 0.001f );
32- Assert .assertEquals (original .g , copy .g , 0.001f );
33- Assert .assertEquals (original .b , copy .b , 0.001f );
34- Assert .assertEquals (original .a , copy .a , 0.001f );
35- }
3630}
You can’t perform that action at this time.
0 commit comments