Skip to content

Commit

Permalink
Update the list of unit conversion. Counts.
Browse files Browse the repository at this point in the history
  • Loading branch information
timronan committed Jan 31, 2020
1 parent 2e9a284 commit 297f43b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/units.properties
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"V/m" : ["v/m"],
"W/m**2" : ["w/m**2"],
"gap" : ["gap"],
"count" : ["count", "counts"],
"count" : ["count"],
"counts" : ["counts"],
"byte" : ["byte", "bytes"],
"bit" : ["bit", "bits"],
"bit/s" : ["bit/s"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

public class SeedToXmlDocumentConverterTest {

// @Test
@Test
public void t1() {
File source = null, target = null;

Expand Down Expand Up @@ -69,7 +69,8 @@ public void t1() {
assertNotNull(station.getChannels());
assertEquals(37, station.getChannels().size());
Channel channel = station.getChannels().get(0);


assertEquals("counts", channel.getCalibrationUnits().getName());
assertEquals("ACE", channel.getCode());
} catch (Exception e) {
// TODO Auto-generated catch block
Expand Down Expand Up @@ -137,10 +138,13 @@ public void t2() {
System.out.println(b.toSeedString());
}



assertEquals(volume.getControlBlockettes().size(), other.getControlBlockettes().size());
// assertEquals(volume.getIndexBlockettes().size(), other.getIndexBlockettes().size());
assertEquals(volume.getDictionaryBlockettes().size(), other.getDictionaryBlockettes().size());
assertEquals(volume.size(), other.size());


compare(volume, other);
} catch (Exception e) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/CI_OAT.dataless

Large diffs are not rendered by default.

0 comments on commit 297f43b

Please sign in to comment.