     }
     
   }
-    
+
 }

@testable import Mechanica

class NSPredicateOperatorsTests: XCTestCase {
    
  
  func test_operators() {
    
    final class TestClass: NSObject {
      let id: Int
      let text: String
      
      init(id: Int, text: String) {
        self.id = id

    let textEndsWithE_predicate = NSPredicate(format: "text ENDSWITH[cd] 'e'")

    do {
      let result = (tests as NSArray).filtered(using: textEqualToOne_predicate)
      XCTAssert(result.count == 1)
    }
    
