Home
last modified time | relevance | path

Searched refs:packedMovie (Results 1 – 1 of 1) sorted by relevance

/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersUnionTests.swift135 let packedMovie = Movie.getRootAsMovie(bb: fb.buffer) in testUnionVector() variable
137 …XCTAssertEqual(packedMovie.characters(at: 0, type: BookReader_Mutable.self)?.booksRead, movie.char… in testUnionVector()
138 …XCTAssertEqual(packedMovie.characters(at: 1, type: Attacker.self)?.swordAttackDamage, movie.charac… in testUnionVector()
139 …XCTAssertEqual(packedMovie.characters(at: 2, type: BookReader_Mutable.self)?.booksRead, movie.char… in testUnionVector()
176 let packedMovie = Movie.getRootAsMovie(bb: fb.buffer) in testStringUnion() variable
177 XCTAssertEqual(packedMovie.mainCharacter(type: String.self), string) in testStringUnion()
178 XCTAssertEqual(packedMovie.characters(at: 0, type: BookReader_Mutable.self)?.booksRead, 7) in testStringUnion()
179 XCTAssertEqual(packedMovie.characters(at: 1, type: String.self), string) in testStringUnion()