diff --git a/ts/factorio/testing/blueprint_test.ts b/ts/factorio/testing/blueprint_test.ts index d726515d9c..b9ecdce05f 100644 --- a/ts/factorio/testing/blueprint_test.ts +++ b/ts/factorio/testing/blueprint_test.ts @@ -11,6 +11,7 @@ import { balancers } from '#root/ts/factorio/testing/data/balancers.js'; import { bigAssMall } from '#root/ts/factorio/testing/data/bigAssMall'; import { neoVortexTrainStations } from '#root/ts/factorio/testing/data/neoVortexTrainStations'; import { powerBook } from '#root/ts/factorio/testing/data/powerBook'; +import { reactor } from '#root/ts/factorio/testing/data/reactor.js'; import { starterBase } from '#root/ts/factorio/testing/data/starterBase.js'; import { renderBlueprintToBrailleString } from '#root/ts/factorio/testing/render_to_braille'; @@ -198,4 +199,8 @@ describe('some problematic blueprints', () => { test('starter base', () => { expect(() => BlueprintString.parse(starterBase)).not.toThrow(); }); + + test('reactor', () => { + expect(() => BlueprintString.parse(reactor)).not.toThrow(); + }); }); diff --git a/ts/factorio/testing/data/reactor.ts b/ts/factorio/testing/data/reactor.ts new file mode 100644 index 0000000000..3e52a552a5 --- /dev/null +++ b/ts/factorio/testing/data/reactor.ts @@ -0,0 +1,5 @@ +/** + * @fileoverview https://factorioprints.com/view/-KjUiaibx5dJBC9svbMy + */ + +export const reactor = '0eNrdnUtyG8kRhq+iwBqQ6v1ghDeenR2zdHihUChAsCXCAQIYPDhSKHQGb732KXweX8BXMBok0U1N/8g/e6nNaBoEP2ZVZWVlZWZVf5vcro7NdrdcHyY33yZ3zX6xW24Py816cjO5Pxy2+5t37z7NF4fNbrk5f23/drF5ePe4bH5/N/vrP/62nC9vv8S7v/z5l7p/vP3162Q6WS426/3k5v23yX75eT1fteD1/KE5EdfHxaqZ72a75oycfD99e33XfJnc2O/T/vcPX7ft9x+Xu8Px9Mn0BbC/n2+b2WK32e97v+y+f5hOmvVheVg2T3/5/PD14/r4cNvsTvQOcGjmD7PDcXe7XDcn7nazXz4199vkRJq5/DZOJ19P/5fextNfuFvumsXTF0Ir4g9gdwF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