func TestNewCar(t *testing.T) {
	c, err := NewCar("", 100)
	if err != nil {
		t.Fatal("got errors:", err)
	}

	if c == nil {
		t.Error("car shoud be nil")
	}
}
// Simple testing what different between Fatal and Error
Simple testing what different between Fatal and Error
// Simple testing what different between Fatal and Error
func TestNewCar(t *testing.T) {
	c, err := NewCar("", 100)
	if err != nil {
		t.Fatal("got errors:", err)
	}
	if c == nil {
		t.Error("car shoud be nil")
	}
}
func TestNewCar ( t * testing . T ) { c , err := NewCar ( " " , 100 ) if err != nil { t . Fatal ( " " , err ) } if c == nil { t . Error ( " " ) } }
Simple testing what different between Fatal and Error
Simple testing what different between Fatal and Error