*/
fc = new FeatureColour(Color.GREEN, Color.RED, 12f, 25f);
String greenHex = Format.getHexString(Color.GREEN);
- String expected = String.format("domain\t%s|%s|12.0|25.0|none",
+ String expected = String.format("domain\t%s|%s|abso|12.0|25.0|none",
greenHex, redHex);
assertEquals(expected, fc.toJalviewFormat("domain"));
* colour ranges over the actual score ranges (not min/max)
*/
fc.setAutoScaled(true);
- expected = String.format("domain\t%s|%s|abso|12.0|25.0|none", greenHex,
+ expected = String.format("domain\t%s|%s|12.0|25.0|none", greenHex,
redHex);
assertEquals(expected, fc.toJalviewFormat("domain"));
*/
fc.setThreshold(12.5f);
fc.setBelowThreshold(true);
- expected = String.format("domain\t%s|%s|abso|12.0|25.0|below|12.5",
+ expected = String.format("domain\t%s|%s|12.0|25.0|below|12.5",
greenHex, redHex);
assertEquals(expected, fc.toJalviewFormat("domain"));
*/
fc.setThreshold(12.5f);
fc.setAboveThreshold(true);
+ fc.setAutoScaled(false);
expected = String.format("domain\t%s|%s|abso|12.0|25.0|above|12.5",
greenHex, redHex);
assertEquals(expected, fc.toJalviewFormat("domain"));