@Test("Should display bid button when user is not the seller") func shouldShowBidButton_for_notSeller() { vm.item.isSeller = false #expect(vm.shouldShowBidButton) } @Test("Should hide bid button when user is the seller") func shouldShowBidButton_for_seller() { vm.item.isSeller = true #expect(!vm.shouldShowBidButton) } } .BJOUBJOBCJMJUZJNQSPWFECZEPDVNFOUJOHTQFDJGJDBUJPOTJOUFTUDPEF ༷Λςετίʔυʹ໌ه͢Δ͜ͱͰอकੑ্͕ͨ͠ɻ Ϣʔβʔ͕ग़ऀͰͳ͍ͱ͖ೖࡳϘλϯΛදࣔ͢Δ Ϣʔβʔ͕ग़ऀͷͱ͖ೖࡳϘλϯΛදࣔ͠ͳ͍