Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
update QuoteTests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd committed Aug 27, 2024
1 parent 26529ef commit d08dcfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tests/tbDEXTests/Protocol/Models/Messages/QuoteTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ final class QuoteTests: XCTestCase {
XCTAssertEqual(quote.metadata.exchangeID, "exchange_123")

XCTAssertEqual(quote.data.payin.currencyCode, "USD")
XCTAssertEqual(quote.data.payin.amount, "1.00")
XCTAssertEqual(quote.data.payin.total, "1.00")
XCTAssertNil(quote.data.payin.fee)

XCTAssertEqual(quote.data.payout.currencyCode, "AUD")
XCTAssertEqual(quote.data.payout.amount, "2.00")
XCTAssertEqual(quote.data.payout.subtotal, "2.00")
XCTAssertEqual(quote.data.payout.fee, "0.50")
XCTAssertEqual(quote.data.payout.total, "2.50")

}

func test_verifySuccess() async throws {
Expand Down

0 comments on commit d08dcfd

Please sign in to comment.