1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-06 00:28:55 +00:00
This commit is contained in:
Karol Stasiak 2020-03-19 21:25:08 +01:00
parent 769f31717d
commit 5acf92d4e8

View File

@ -46,10 +46,10 @@ class ConstantSuite extends FunSuite with Matchers {
test("Special const functions should work") { test("Special const functions should work") {
EmuUnoptimizedCrossPlatformRun(Cpu.Mos, Cpu.Z80, Cpu.Intel8086, Cpu.Motorola6809)( EmuUnoptimizedCrossPlatformRun(Cpu.Mos, Cpu.Z80, Cpu.Intel8086, Cpu.Motorola6809)(
""" """
| const array values = [111, if (0,1,2), if(1,2,3), min(2,3,4), max(2,3,4) | const array values = [111, if (0,1,2), if(1,2,3), min(2,3,4), max(2,3,4) ]
| pointer output @$c000 | pointer output @$c000
| void main() { | void main() {
| | output = values.addr
| } | }
""".stripMargin){m => """.stripMargin){m =>
val arrayStart = m.readWord(0xc000) val arrayStart = m.readWord(0xc000)