Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Jan 10, 2025
1 parent d361ffe commit c1823f3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ public int getValueInt(String key, String varname) {
return Integer.parseInt(getValueString(key, varname));
}

public static void main(String args[]) {
ConstantsManager c = new ConstantsManager();
c.addStringTable("/runcontrol/beam");
StringIndexedTable s = c.getStringConstants(11, "/runcontrol/beam");
System.out.println("SIT: "+s.getValueFloat("polarization", "value"));
}
}

0 comments on commit c1823f3

Please sign in to comment.