#[[
This source file is part of the Swift Numerics open source project

Copyright (c) 2019-2021 Apple Inc. and the Swift Numerics project authors
Licensed under Apache License v2.0 with Runtime Library Exception

See https://swift.org/LICENSE.txt for license information
#]]

add_library(IntegerUtilitiesTests
  DivideTests.swift
  DoubleWidthTests.swift
  GCDTests.swift
  RotateTests.swift
  SaturatingArithmeticTests.swift
  ShiftTests.swift)
target_compile_options(IntegerUtilitiesTests PRIVATE
  -enable-testing)
target_link_libraries(IntegerUtilitiesTests PUBLIC
  $<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>
  Numerics
  _TestSupport
  XCTest)
