对于如何测试下面的方法,我现在的思考是:
def do_something
do_action_one
do_action_two(10)
another.do_abc
if ok?
do_action_z
对于如何测试下面的方法,我现在的思考是:
def do_something
do_action_one
do_action_two(10)
another.do_abc
if ok?
do_action_z
| // | |
| // ContentView.swift | |
| // SwiftUI-Weather | |
| // | |
| // Created by David Zhang on 2023/11/23. | |
| // | |
| import SwiftUI | |
| struct ContentView: View { |
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "time" | |
| _ "modernc.org/sqlite" | |
| ) |