diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-07-21 16:39:16 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-07-21 16:39:16 +0100 |
| commit | 539e3cd702ec5f1b158d13db8f71e4ecb8d080bc (patch) | |
| tree | 806f0a9754a6ba968ab53eeeeb146375fac1a22d /src/test/java | |
| parent | 802b7f3ba61b0c031206ef8b6db50eaa1c763e8f (diff) | |
Add byte type to Patio
Diffstat (limited to 'src/test/java')
| -rw-r--r-- | src/test/java/org/shedlang/compiler/patio/PatioSerializerTests.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/org/shedlang/compiler/patio/PatioSerializerTests.java b/src/test/java/org/shedlang/compiler/patio/PatioSerializerTests.java index e8f8fdd5..3ae6d5d1 100644 --- a/src/test/java/org/shedlang/compiler/patio/PatioSerializerTests.java +++ b/src/test/java/org/shedlang/compiler/patio/PatioSerializerTests.java @@ -345,6 +345,15 @@ public class PatioSerializerTests { } @Test + public void canSerializeByteType() { + var type = PatioTypes.BYTE; + + var string = PatioTesting.serializeType(type); + + assertThat(string, equalTo("byte")); + } + + @Test public void canSerializeDataPointerType() { var type = PatioTypes.DATA_POINTER; |
