iOS Automated Exploration Automated Test Framework pytest - Installation and Use
Automated Test Framework - pytest
pytest is one of Python's most popular unit testing frameworks that helps you write test scripts more easily and supports a variety of complex test scenarios that can be used for app testing as well as function testing
Official documents: https://docs.pytest.org/en/latest/
pytest has the following advant ...
Posted by Jason28 on Fri, 17 Apr 2020 19:04:01 +0200
Sliding window (data structure)
Sliding window: there are two pointers L,R. Add a number r to move to the right, and subtract a number L to move to the right.
Generally, it is necessary to maintain the maximum or minimum value in the window, and the query complexity can be O (1).
Generally, two-way queue assistance is needed, such as Title: sliding window
Suppose it is a w ...
Posted by cuteflower on Mon, 13 Apr 2020 16:19:51 +0200
Codeforces Round #632 (Div. 2)(A+B)
A. Little Artem
Question meaning: this question is relatively simple. To put it simply, I want to give you a matrix of n*m, in which "B" stands for black and "W" stands for white. It is required that both of them meet the equation: B=W+1.
Problem solving: it's a simple sign in problem, but I used a complex method in the comp ...
Posted by Possum on Fri, 10 Apr 2020 16:30:25 +0200
iOS - about GCD semaphores
Talk about it casually
In fact, GCD has been contacted by all of us, and we are not explaining what GCD is. Why do we suddenly want to talk about the semaphore problem? In recent interviews, when I asked the interviewers how to deal with a series of operations after multiple requests are completed, some said to create a temporary variable to do ...
Posted by Cazrin on Thu, 02 Apr 2020 05:24:51 +0200
Xamarin.Forms read and display Android and iOS address book - TerminalMACS client
This article updates the address synchronously:
https://dotnet9.com/11520.html
https://terminalmacs.com/861.html
Read navigation:
1, Function description
2, Code implementation
3, Source code acquisition
4, References
5, Later plans
1, Function description
Complete Mind Map: https://github.com/dotnet9/TerminalMACS/blob/master/docs/TerminalM ...
Posted by Aaron111 on Wed, 01 Apr 2020 18:48:23 +0200
Java basic learning summary - IO flow shutdown
1, Why the io stream must be closed in java
When we new a java stream object, we not only create an instance object of the corresponding class in the computer memory. In addition, it also takes up the corresponding system resources. When there is no reference to an instance object in memory, the java garbage collector will recycle it automatica ...
Posted by cdjaco on Fri, 20 Mar 2020 15:55:53 +0100
char,unsigned char,uint8_t,uint16_t
Article directory
char,unsigned char,uint8_t,uint16_t
Summary
Turn NSString
uint8_t,uint16_t
On the range of value
char
int
Calculation method of value range
sizeof()
Some system macros
Recommended reading
char,unsigned char,uint8_t,uint16_t
Summary
Basics
In C/C + +, char is used to de ...
Posted by VBAssassin on Tue, 10 Mar 2020 04:40:27 +0100
C + + learning notes - file operation
The data generated by C + + when the program is running belongs to temporary data, which will be released after the program is running. Sometimes we need to store some simple data permanently. At this time, we can use files to persist the data.
There are two types of files:
1. Text file: the file i ...
Posted by jtapoling on Fri, 28 Feb 2020 05:31:32 +0100
Linux mmc Driver Framework -- important data structure
Linux mmc Driver Framework
Summary
mmc_host
mmc_card
mmc_ios
mmc_dirver
mmc_bus_ops
mmc_host_ops
mmc_command
mmc_data
mmc_request
sdio_func
Summary
data structure
describe
struct mmc_host
Used to represent an mmc host controller
struct mmc_card
Used to represent an mmc device (card)
st ...
Posted by aa-true-vicious on Tue, 25 Feb 2020 16:05:33 +0100
Some basic global property settings
"appearance" is really a magic "attribute" in iOS. It is used to set global attributes. For example, it has written the automatic row height setting of 10000 times tableView. (PS. wrote a big bug. iOS 11 two days ago. All cells are the default height. The comment in Xcode9 is the default value, that is, ther ...
Posted by Dingbats on Sat, 22 Feb 2020 17:22:19 +0100