Lines Matching refs:movie
116 var movie = Movie.getRootAsMovie(bb: fb.buffer) in testUnionVector() variable
117 XCTAssertEqual(movie.charactersTypeCount, Int32(characterType.count)) in testUnionVector()
118 XCTAssertEqual(movie.charactersCount, Int32(characters.count)) in testUnionVector()
120 for i in 0..<movie.charactersTypeCount { in testUnionVector()
121 XCTAssertEqual(movie.charactersType(at: i), characterType[Int(i)]) in testUnionVector()
124 XCTAssertEqual(movie.characters(at: 0, type: BookReader_Mutable.self)?.booksRead, 7) in testUnionVector()
125 XCTAssertEqual(movie.characters(at: 1, type: Attacker.self)?.swordAttackDamage, swordDmg) in testUnionVector()
126 XCTAssertEqual(movie.characters(at: 2, type: BookReader_Mutable.self)?.booksRead, 2) in testUnionVector()
128 var objc: MovieT? = movie.unpack() in testUnionVector()
129 XCTAssertEqual(movie.charactersTypeCount, Int32(objc?.characters.count ?? 0)) in testUnionVector()
130 …XCTAssertEqual(movie.characters(at: 0, type: BookReader_Mutable.self)?.booksRead, (objc?.character… in testUnionVector()
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()
163 var movie = Movie.getRootAsMovie(bb: fb.sizedBuffer) in testStringUnion() variable
164 XCTAssertEqual(movie.mainCharacter(type: String.self), string) in testStringUnion()
165 XCTAssertEqual(movie.characters(at: 0, type: BookReader_Mutable.self)?.booksRead, 7) in testStringUnion()
166 XCTAssertEqual(movie.characters(at: 1, type: String.self), string) in testStringUnion()
168 var objc: MovieT? = movie.unpack() in testStringUnion()