mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
trial commit
This commit is contained in:
parent
2e9e2fad13
commit
f41f23aa35
@ -1,5 +1,7 @@
|
||||
# Heading
|
||||
Text before
|
||||
# Testing With Two Computers
|
||||
_This is a simplified overview of conventional and coroutine-based unit testing. We explore the steps taken by a convnetional test and then present the same test in a coroutine model. We use an analogy with computers that can "only do one thing at a time" and then discuss how coroutines fit in at the end._
|
||||
## Conventional testing, using one computer
|
||||
For this exercise, we will assume that the computers illustrated can only run a single "program" at a time (but see [footnote](##Footnote)).
|
||||

|
||||
Text after
|
||||

|
||||
@ -9,7 +11,7 @@ Text after
|
||||

|
||||
Text after
|
||||

|
||||
Text after
|
||||
## The same test, using two computers
|
||||

|
||||
Text after
|
||||

|
||||
@ -18,3 +20,8 @@ Text after
|
||||
Text after
|
||||

|
||||
Text after
|
||||
## How do we get to coroutines
|
||||
## Footnote
|
||||
The machine shown is a PDP-11/35 minicomputer system which does in fact support timesharing. You would not need two of them to run cotest!
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user