Mercurial > repos > shellac > guppy_basecaller
view env/lib/python3.7/site-packages/schema_salad/java/test_utils/YamlUtilsTest.java @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author | shellac |
---|---|
date | Sat, 02 May 2020 07:14:21 -0400 |
parents | |
children |
line wrap: on
line source
package ${package}.utils; import java.util.Map; import org.junit.Assert; import org.junit.Test; public class YamlUtilsTest { @Test public void testSimpleLoad() { final String yamlStr = "moo: cow\nbark: dog\n"; final Map<String, Object> loaded = YamlUtils.mapFromString(yamlStr); Assert.assertEquals(loaded.get("moo"), "cow"); Assert.assertEquals(loaded.get("bark"), "dog"); } }