/ test / lightspeed_test.gleam
lightspeed_test.gleam
 1  import gleeunit
 2  import gleeunit/should
 3  import lightspeed
 4  import lightspeed/protocol
 5  
 6  pub fn main() {
 7    gleeunit.main()
 8  }
 9  
10  pub fn banner_test() {
11    lightspeed.banner()
12    |> should.equal("Lightspeed 0.1.0")
13  }
14  
15  pub fn protocol_hello_test() {
16    protocol.hello()
17    |> protocol.is_current_hello
18    |> should.equal(True)
19  }