[YogaKit] add unit tests.

- pixel-align for view’s frame;
- add unit tests for YogaKit.
This commit is contained in:
vvveiii
2020-08-13 17:17:15 +08:00
parent b78cfa6698
commit ae3aa9582c
6 changed files with 147 additions and 40 deletions

View File

@@ -1,8 +1,11 @@
platform :ios, '9.0'
use_frameworks!
target 'YogaKitSample' do
pod 'Yoga', :path => '../../Yoga.podspec'
pod 'YogaKit', :path => '../../YogaKit.podspec'
pod 'IGListKit', '~> 4.0.0'
targetsArray = ['YogaKitSample', 'YogaKitSampleTests']
targetsArray.each do |t|
target t do
pod 'Yoga', :path => '../../Yoga.podspec'
pod 'YogaKit', :path => '../../YogaKit.podspec'
pod 'IGListKit', '~> 4.0.0'
end
end