summaryrefslogtreecommitdiff
path: root/src/test/resources/test-dimensionfile-valid1.txt
diff options
context:
space:
mode:
authorAdrien Hopkins <ahopk127@my.yorku.ca>2021-12-02 16:46:15 -0500
committerAdrien Hopkins <ahopk127@my.yorku.ca>2021-12-02 16:46:15 -0500
commit345fa45ae562e4699cc9c2e039dc82c7a66b0451 (patch)
tree970052482622edd7e7fa950dfcee66b165818a4f /src/test/resources/test-dimensionfile-valid1.txt
parent54e481cdb7115b236bcddb86b785d88dcc757c39 (diff)
parent8ea77520ce58e948eeffc4c2e8c25c69e88ed00a (diff)
Merge branch 'testing-upgrades' into develop
Diffstat (limited to 'src/test/resources/test-dimensionfile-valid1.txt')
-rw-r--r--src/test/resources/test-dimensionfile-valid1.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/resources/test-dimensionfile-valid1.txt b/src/test/resources/test-dimensionfile-valid1.txt
new file mode 100644
index 0000000..fc6a426
--- /dev/null
+++ b/src/test/resources/test-dimensionfile-valid1.txt
@@ -0,0 +1,12 @@
+LENGTH !
+MASS !
+TIME !
+
+ENERGY MASS * LENGTH^2 / TIME^2
+POWER ENERGY / TIME
+
+# doesn't work, but would require major changes to fix properly
+# for now, just don't use brackets in dimension expressions
+# (note that the unit/prefix expressions use a complete hack
+# to enable this, one that doesn't work for dimensions)
+# POWER MASS * (LENGTH / TIME)^2 / TIME \ No newline at end of file