Skip to content

Commit b8e9710

Browse files
committed
Test arity and dimension of a lone Scalar
1 parent 0f89155 commit b8e9710

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

core/src/test/scala/latis/model/DataTypeSuite.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ class DataTypeSuite extends FunSuite {
219219
assertEquals(fWithNestedTupDomain.dimension, 3)
220220
}
221221

222+
test("non Function") {
223+
assertEquals(x.arity, 0)
224+
assertEquals(x.dimension, 0)
225+
}
226+
222227
//---- Range variables ----//
223228

224229
// f: x -> a

0 commit comments

Comments
 (0)