 
         XCTAssertTrue(not.value)
         XCTAssertTrue(current!)
-        
+
         source.value = true
         XCTAssertFalse(not.value)
         XCTAssertFalse(current!)

import ReactiveCocoa
import XCTest

final class PredicateTests: XCTestCase {

    func testAndProperty() {
        let lhs = MutableProperty(false), rhs = MutableProperty(false)


        var current: Bool!
        and.producer.startWithNext { current = $0 }

        XCTAssertFalse(and.value)
        XCTAssertFalse(current!)

        lhs.value = true
        XCTAssertFalse(and.value)
        XCTAssertFalse(current!)

        rhs.value = true
        XCTAssertTrue(and.value)
        XCTAssertTrue(current!)
