16 lines
491 B
JavaScript
16 lines
491 B
JavaScript
|
|
import { describe, expect, it } from 'vitest'
|
||
|
|
import {
|
||
|
|
DEFERRED_TOPOLOGY_EDGE_KINDS,
|
||
|
|
DESIGNER_EDGE_KINDS,
|
||
|
|
} from './gateGraphTopology.js'
|
||
|
|
|
||
|
|
describe('gateGraphTopology', () => {
|
||
|
|
it('keeps designer and deferred edge kinds separate', () => {
|
||
|
|
expect(DESIGNER_EDGE_KINDS).toContain('requires')
|
||
|
|
expect(DEFERRED_TOPOLOGY_EDGE_KINDS).toContain('parallel_group')
|
||
|
|
for (const kind of DEFERRED_TOPOLOGY_EDGE_KINDS) {
|
||
|
|
expect(DESIGNER_EDGE_KINDS).not.toContain(kind)
|
||
|
|
}
|
||
|
|
})
|
||
|
|
})
|